diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-18 11:04:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-18 11:04:57 (GMT) |
commit | 1e5809ff02201291df47d94dad843ca32048e4d3 (patch) | |
tree | 3145886a733f7faa0cea48ed663361657ccce8f3 /Objects/iterobject.c | |
parent | ade08ea8a87ee7130eff930f047abad9e1ec3d84 (diff) | |
download | cpython-1e5809ff02201291df47d94dad843ca32048e4d3.zip cpython-1e5809ff02201291df47d94dad843ca32048e4d3.tar.gz cpython-1e5809ff02201291df47d94dad843ca32048e4d3.tar.bz2 |
Improve deque iteration.
* The default __reversed__ performed badly, so reintroduced a custom
reverse iterator.
* Added length transparency to improve speed with map(), list(), etc.
Diffstat (limited to 'Objects/iterobject.c')
0 files changed, 0 insertions, 0 deletions