summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-12 08:41:36 +0000
committerRaymond Hettinger <python@rcn.com>2004-03-12 08:41:36 +0000
commitdb0de9e7cabc5e7bc052dfc4c8fc1b5dea154009 (patch)
treeb197929508f9f4ae866f72cd7453a712d5327dca /Python/pythonrun.c
parentc1e4f9dd92a2b63b26b06035f8c8ee1a5eb52ab3 (diff)
downloadcpython-git-db0de9e7cabc5e7bc052dfc4c8fc1b5dea154009.tar.gz
Speedup for-loops by inlining PyIter_Next(). Saves duplicate tests
and a function call resulting in a 15% reduction of total loop overhead (as measured by timeit.Timer('pass')).
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions