Message72155
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. |
|
Date |
User |
Action |
Args |
2008-08-29 20:18:06 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, rhettinger, donmez, gideon |
2008-08-29 20:18:06 | amaury.forgeotdarc | set | messageid: <1220041086.04.0.678238374968.issue3720@psf.upfronthosting.co.za> |
2008-08-29 20:18:05 | amaury.forgeotdarc | link | issue3720 messages |
2008-08-29 20:18:04 | amaury.forgeotdarc | create | |
|