brestprog
brestprog copied to clipboard
Update primesieve.md
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