]> granicus.if.org Git - python/commit
Now that list.extend() is at the root of many list operations, it becomes
authorRaymond Hettinger <python@rcn.com>
Thu, 11 Mar 2004 09:48:18 +0000 (09:48 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 11 Mar 2004 09:48:18 +0000 (09:48 +0000)
commit57c4542bcdd0bcf3bb18911f5cac8f7ccfb4c85f
treed760407422649aae60a1800c58b02506aea212c0
parent8ca92ae54c3c0958bf073fe04d897f8f01e02547
Now that list.extend() is at the root of many list operations, it becomes
worth it to in-line the call to PyIter_Next().

Saves another 15% on most list operations that acceptable a general
iterable argument (such as the list constructor).
Objects/listobject.c