Skip to content

Commit

Permalink
Tune pre-sieve lookup tables
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Nov 9, 2024
1 parent 1fb08df commit 7f1381f
Show file tree
Hide file tree
Showing 4 changed files with 2,266 additions and 9 deletions.
4 changes: 2 additions & 2 deletions include/primesieve/PreSieve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
/// buffer[3] removes multiplies of: { 17, 37, 53 } // 32 KiB
/// buffer[4] removes multiplies of: { 19, 29, 61 } // 32 KiB
/// buffer[5] removes multiplies of: { 23, 31, 47 } // 32 KiB
/// buffer[6] removes multiplies of: { 79, 97 } // 8 KiB
/// buffer[7] removes multiplies of: { 83, 89 } // 7 KiB
/// buffer[6] removes multiplies of: { 79, 97 } // 30 KiB
/// buffer[7] removes multiplies of: { 83, 89 } // 29 KiB
///
/// Then whilst sieving, we perform a bitwise AND on the
/// buffers_ arrays and store the result in the sieve array.
Expand Down
Loading

0 comments on commit 7f1381f

Please sign in to comment.