brestprog icon indicating copy to clipboard operation
brestprog copied to clipboard

Update primesieve.md

Open drinklc opened this issue 4 months ago • 0 comments

Optimized the algorithm. This optimization is acceptable since we cross out the numbers starting from i^2, hence iterating beyond sqrt(n) in the first loop is unnecessary

drinklc avatar Oct 31 '24 16:10 drinklc