diff options
author | Raymond Hettinger <python@rcn.com> | 2004-01-04 08:54:44 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-01-04 08:54:44 (GMT) |
commit | 77f3c8711337c887c072c43be2aec7a3079819f3 (patch) | |
tree | 7326bdf06fc7e8c53c668e3e23b4bf764cba3194 /Doc/commontex | |
parent | 7832cd6141116cc64f6304f1107631e28cd7ee08 (diff) | |
download | cpython-77f3c8711337c887c072c43be2aec7a3079819f3.zip cpython-77f3c8711337c887c072c43be2aec7a3079819f3.tar.gz cpython-77f3c8711337c887c072c43be2aec7a3079819f3.tar.bz2 |
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.
Diffstat (limited to 'Doc/commontex')
0 files changed, 0 insertions, 0 deletions