commit | 77f3c8711337c887c072c43be2aec7a3079819f3 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Jan 04 08:54:44 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Jan 04 08:54:44 2004 +0000 |
tree | 7326bdf06fc7e8c53c668e3e23b4bf764cba3194 | |
parent | 7832cd6141116cc64f6304f1107631e28cd7ee08 [diff] |
Apply map/zip pre-sizing optimization to a broader class of objects. Formerly, the length was only fetched from sequence objects. Now, any object that reports its length can benefit from pre-sizing.