[Python-Dev] Joys of Optimization (original) (raw)

Raymond Hettinger raymond.hettinger at verizon.net
Fri Mar 12 04:57:09 EST 2004


In case you haven't been watching, we've been improving the heck out of looping, list operations, and list comprehensions.

Here is one of the scoresheets:

python timeit.py "[i for i in xrange(1000)]" py2.4 0.56 msec py2.3 1.16 msec py2.2 1.45 msec

ymmv,

Raymond Hettinger

-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20040312/1f68567e/attachment-0001.html



More information about the Python-Dev mailing list