Re: [rant][benchmark] Sieve of Eratosthenes
- Posted by petelomax Jan 08, 2019
- 1231 views
Have fun: http://www.rosettacode.org/wiki/Sieve_of_Eratosthenes#Python
I recently got a bit of a slapping for not implementing wheels at http://www.rosettacode.org/wiki/Extensible_prime_generator#Phix - oh, wait, there's more on that page too .
The phix docs include this: http://phix.x10.mx/docs/html/phixvsfl.htm
To be fair, list comprehensions are probably more useful for lazy evaluation (not that I'm a fan of that either).