Skip to content

Commit

Permalink
Update ALGORITHMS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch authored Feb 23, 2025
1 parent e49c0d1 commit 9191469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ALGORITHMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ efficiently uses the CPU's multi level cache hierarchy.
### Optimizations used in primesieve

* Uses a bit array with 8 flags each 30 numbers for sieving
* Pre-sieves multiples of small primes ≤ 163
* Pre-sieves multiples of small primes ≤ 163 using SIMD instructions (AVX512, ARM SVE)
* Compresses the sieving primes in order to improve cache efficiency [[5]](#references)
* Starts crossing off multiples at the square
* Uses specialized algorithms for small, medium and big sieving primes
Expand Down

0 comments on commit 9191469

Please sign in to comment.