Message72158
Go for it. There's really no question about fixing possible
segfaulters. Was just voicing my displeasure at this sort of
exercise. The code has been around since at least 2.2 and hasn't
caused the slightest problem. It bugs me to put cruft in the middle of
otherwise tight loops. Fortunately, the check is cheap and branch
predictable.
BTW, your timings are domained by the function call and the range(5000)
step. To cleanly time for-loop overhead, use:
python -m timeit "pass" |
|
Date |
User |
Action |
Args |
2008-08-29 20:34:43 | rhettinger | set | recipients:
+ rhettinger, amaury.forgeotdarc, donmez, gideon |
2008-08-29 20:34:42 | rhettinger | set | messageid: <1220042082.95.0.716782617483.issue3720@psf.upfronthosting.co.za> |
2008-08-29 20:34:42 | rhettinger | link | issue3720 messages |
2008-08-29 20:34:41 | rhettinger | create | |
|