Sieve of Eratosthenes: Difference between revisions

Content deleted Content added
Amarty (talk | contribs)
Amarty (talk | contribs)
Line 11,344: Line 11,344:
Notes:
Notes:
- this version avoids stackoverflow.
- this version avoids stackoverflow.
- From 1 to 1000000 there are 78500 primes (computed in 95000ms) and the last is 999983.
- From 1 to 1000000 there are 78500 primes (computed in ~15000ms) and the last is 999983.


</syntaxhighlight>
</syntaxhighlight>