]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Optimize list.pop() for the common special case of popping off the end.
authorRaymond Hettinger <python@rcn.com>
Fri, 13 Feb 2004 18:36:31 +0000 (18:36 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 13 Feb 2004 18:36:31 +0000 (18:36 +0000)
commitcb3e580ebce784c2e5eb86cb30c842f66e29cb04
tree4ec6bf0316cd4a3f9f94deb9dd75b8be44ddc995
parent4bb9540dd6eddaf60b908796c2412696a8870bd1
Optimize list.pop() for the common special case of popping off the end.
More than doubles its speed.
Objects/listobject.c