diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-14 04:37:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-14 04:37:50 (GMT) |
commit | 6e2ee866fa5cac9de821921a31ad4ba76dfde8d9 (patch) | |
tree | 725c887bd9872aa57efb7d97e73aa4e86e5cc72a /Misc | |
parent | 118e1277a6fb79f2d03454021bf3cb2f7e9ae349 (diff) | |
download | cpython-6e2ee866fa5cac9de821921a31ad4ba76dfde8d9.zip cpython-6e2ee866fa5cac9de821921a31ad4ba76dfde8d9.tar.gz cpython-6e2ee866fa5cac9de821921a31ad4ba76dfde8d9.tar.bz2 |
Update the array overallocation scheme to match the approach used for
lists. Speeds append() operations and reduces memory requirements
(because of more conservative overallocation).
Paves the way for the feature request for array.extend() to support
arbitrary iterable arguments.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -180,7 +180,9 @@ Core and builtins Extension modules ----------------- -- array objects now support the copy module +- array objects now support the copy module. Also, their resizing + scheme has been updated the same as for list objects. The improves + performance for append() operations. - cStringIO.writelines() now accepts any iterable argument and writes the lines one at a time rather than joining them and writing once. |