Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, donmez, gideon, rhettinger
Date 2008-08-29.20:18:04
SpamBayes Score 4.2066e-06
Marked as misclassified No
Message-id <1220041086.04.0.678238374968.issue3720@psf.upfronthosting.co.za>
In-reply-to
Content
Here are some timings, on winXP, vs2008 release build:

# t.py
def f(l=range(5000)): 
    for x in l: pass

# before the patch
> python -m timeit -s "from t import f" "f()"
10000 loops, best of 3: 159 usec per loop

# after the patch
> python -m timeit -s "from t import f" "f()"
10000 loops, best of 3: 160 usec per loop

and these figures are pretty stable on my machine.
Is it too much to pay? Some may consider that potential crashes are more
expensive.
History
Date User Action Args
2008-08-29 20:18:06amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, rhettinger, donmez, gideon
2008-08-29 20:18:06amaury.forgeotdarcsetmessageid: <1220041086.04.0.678238374968.issue3720@psf.upfronthosting.co.za>
2008-08-29 20:18:05amaury.forgeotdarclinkissue3720 messages
2008-08-29 20:18:04amaury.forgeotdarccreate