]> granicus.if.org Git - python/commit
Update the array overallocation scheme to match the approach used for
authorRaymond Hettinger <python@rcn.com>
Sun, 14 Mar 2004 04:37:50 +0000 (04:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 14 Mar 2004 04:37:50 +0000 (04:37 +0000)
commit6e2ee866fa5cac9de821921a31ad4ba76dfde8d9
tree725c887bd9872aa57efb7d97e73aa4e86e5cc72a
parent118e1277a6fb79f2d03454021bf3cb2f7e9ae349
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.
Misc/NEWS
Modules/arraymodule.c