in reply to Re^3: Number functions I have lying around
in thread Number functions I have lying around
"Eratosthenes was a clever chap"
I never met him. But another chap wrote some kind of shortcut:
use Math::Prime::XS qw( sieve_primes ); my @primes = sieve_primes(10_000);
I'm to tired to write the benchmarks...
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|