]> granicus.if.org Git - python/commit
Improve deque iteration.
authorRaymond Hettinger <python@rcn.com>
Thu, 18 Mar 2004 11:04:57 +0000 (11:04 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 18 Mar 2004 11:04:57 +0000 (11:04 +0000)
commit1e5809ff02201291df47d94dad843ca32048e4d3
tree3145886a733f7faa0cea48ed663361657ccce8f3
parentade08ea8a87ee7130eff930f047abad9e1ec3d84
Improve deque iteration.
* The default __reversed__ performed badly, so reintroduced a custom
  reverse iterator.
* Added length transparency to improve speed with map(), list(), etc.
Modules/collectionsmodule.c