diff options
author | Raymond Hettinger <python@rcn.com> | 2004-01-04 11:00:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-01-04 11:00:08 (GMT) |
commit | b86269db458f63b95be8017e47671092be3b48d1 (patch) | |
tree | 7d923c10b04385faf611a9df19be81f504a3e5d9 /PC | |
parent | 4618cc09ec6b155c1570be07c7da37327f6e2293 (diff) | |
download | cpython-b86269db458f63b95be8017e47671092be3b48d1.zip cpython-b86269db458f63b95be8017e47671092be3b48d1.tar.gz cpython-b86269db458f63b95be8017e47671092be3b48d1.tar.bz2 |
Apply 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 'PC')
0 files changed, 0 insertions, 0 deletions