¡@

Home 

python Programming Glossary: rwh_primes2

Fastest way to list all primes below N in python

http://stackoverflow.com/questions/2068372/fastest-way-to-list-all-primes-below-n-in-python

of implementations ambi_sieve_plain rwh_primes rwh_primes1 rwh_primes2 sieveOfAtkin sieveOfEratosthenes sundaram3 sieve_wheel_30 ambi_sieve.. for primesfrom2to primesfrom3to rwh_primes rwh_primes1 and rwh_primes2. Of the plain Python methods tested with psyco for n 1000000.. 43.0 sieveOfAtkin 46.4 rwh_primes 57.4 sieve_wheel_30 63.0 rwh_primes2 67.8 sieveOfEratosthenes 147.0 ambi_sieve_plain 152.0 sundaram3..