summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-14 04:37:50 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-03-14 04:37:50 (GMT)
commit6e2ee866fa5cac9de821921a31ad4ba76dfde8d9 (patch)
tree725c887bd9872aa57efb7d97e73aa4e86e5cc72a /Misc
parent118e1277a6fb79f2d03454021bf3cb2f7e9ae349 (diff)
downloadcpython-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/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 350bf7e..dfe6e2f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.