]> granicus.if.org Git - python/commit
Optimize tuple_slice() and make further improvements to list_slice()
authorRaymond Hettinger <python@rcn.com>
Mon, 8 Mar 2004 07:25:05 +0000 (07:25 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 8 Mar 2004 07:25:05 +0000 (07:25 +0000)
commitb7d05db0beacb9f24300d5fa26b14c3f73d6c622
tree7e2c7f591d047fdd057b25dcff149f6e78f38e60
parentf0e3569a28bc25cc3a6b267614b9724d8fe01a0e
Optimize tuple_slice() and make further improvements to list_slice()
and list.extend().  Factoring the inner loops to remove the constant
structure references and fixed offsets gives speedups ranging from
20% to 30%.
Doc/whatsnew/whatsnew24.tex
Objects/listobject.c
Objects/tupleobject.c