George Sakkis: > You can also save an attribute lookup for append; just add > append = primes.append > outside of the loop and replace primes.append(x) with append(x) > That should cut down a few fractions of second.
We were talking about Psyco, and I think with Psyco (just released for Py 2.5, BTW) such tricks are less useful. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list