Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise sieve_of_eratosthenes #20

Merged
merged 3 commits into from
Dec 3, 2023

Conversation

vil02
Copy link
Member

@vil02 vil02 commented Dec 3, 2023

This PR:

  • optimizes the implementation of sieve_of_eratosthenes,
  • handles the the edge cases (inputs like 0),
  • updates tests.

@vil02 vil02 marked this pull request as ready for review December 3, 2023 16:54
@appgurueu appgurueu merged commit 1c41186 into TheAlgorithms:main Dec 3, 2023
3 checks passed
@appgurueu
Copy link
Collaborator

Thanks!

@vil02 vil02 deleted the speedup_sieve_of_eratosthenes branch December 4, 2023 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants