| commit | 0ce6dc85300050356dfa127d741e80fdc9ad987a | [log] [tgz] | 
|---|---|---|
| author | Raymond Hettinger <python@rcn.com> | Thu Mar 18 08:38:00 2004 +0000 | 
| committer | Raymond Hettinger <python@rcn.com> | Thu Mar 18 08:38:00 2004 +0000 | 
| tree | c91e503b59aaf8079758ae1586c78b9c26d51afa | |
| parent | 0e5e6c70e6949bb82c54e1da2cff1836523902c4 [diff] | 
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.