Skip to content

Commit

Permalink
Reworked NBKPrimeSieve (#114)
Browse files Browse the repository at this point in the history
- I made the Sieve of Eratosthenes 30% faster with segmentation.
- I removed the `PrimeCountLimit` enum because it is now obsolete.
- I added an `increment()` method that sieves the following page.
- It now sieves at least one page to make life easier (don't loop it).
  • Loading branch information
oscbyspro committed Nov 28, 2023
1 parent 82cd520 commit 4a29842
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 289 deletions.
Loading

0 comments on commit 4a29842

Please sign in to comment.