summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-12-15 00:07:25 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-12-15 00:07:25 (GMT)
commit6c87af5d876dca978199240c258eaaaf2d0040e9 (patch)
treeecaabed843f651f11db7c22bf5001de8384801b6 /Lib
parentc67a15d86552245f1a55b58e319ffda345196854 (diff)
downloadcpython-6c87af5d876dca978199240c258eaaaf2d0040e9.zip
cpython-6c87af5d876dca978199240c258eaaaf2d0040e9.tar.gz
cpython-6c87af5d876dca978199240c258eaaaf2d0040e9.tar.bz2
Optimize PyList_AsTuple(). Improve cache performance by doing the
pointer copy and object increment in one pass. For small lists, save the overhead of the call to memcpy() -- this comes up in calls like f(*listcomp).
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions