[Python-Dev] Joys of Optimization
Robert Brewer
fumanchu at amor.org
Fri Mar 12 11:11:50 EST 2004
Raymond Hettinger wrote:
> 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
Watching and loving every minute of it. Thanks for your pursuit of
these!
FuManChu
More information about the Python-Dev
mailing list