diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-18 08:38:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-18 08:38:00 (GMT) |
commit | 0ce6dc85300050356dfa127d741e80fdc9ad987a (patch) | |
tree | c91e503b59aaf8079758ae1586c78b9c26d51afa /Misc | |
parent | 0e5e6c70e6949bb82c54e1da2cff1836523902c4 (diff) | |
download | cpython-0ce6dc85300050356dfa127d741e80fdc9ad987a.zip cpython-0ce6dc85300050356dfa127d741e80fdc9ad987a.tar.gz cpython-0ce6dc85300050356dfa127d741e80fdc9ad987a.tar.bz2 |
Make the new dictionary iterators transparent with respect to length.
This gives another 30% speedup for operations such as
map(func, d.iteritems()) or list(d.iteritems()) which can both take
advantage of length information when provided.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions