Sieve of Pritchard: Difference between revisions
Content added Content deleted
Tag: Undo |
Tag: Undo |
||
Line 185: | Line 185: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
Added add/remove statistics. "Removed" figure is a combination of composites and primes under sqrt of limit. Getting about |
|||
a 40% speedup from using a BitArray instead of a Set. |
a 40% speedup from using a BitArray instead of a Set. |
||
<syntaxhighlight lang="julia">""" Rosetta Code task rosettacode.org/wiki/Sieve_of_Pritchard """ |
<syntaxhighlight lang="julia">""" Rosetta Code task rosettacode.org/wiki/Sieve_of_Pritchard """ |