Sieve of Pritchard: Difference between revisions

m
m (→‎{{header|Julia}}: use a BitArray)
Line 185:
 
=={{header|Julia}}==
AddedWith the add/remove statistics., the "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.
<syntaxhighlight lang="julia">""" Rosetta Code task rosettacode.org/wiki/Sieve_of_Pritchard """
4,108

edits