commit | da1da2fce63eebd52a08395d5538bdef6fa31b5c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <[email protected]> | Sun Mar 14 04:37:50 2004 +0000 |
committer | Raymond Hettinger <[email protected]> | Sun Mar 14 04:37:50 2004 +0000 |
tree | d760188677756ae5a4a98ed6182eda63de25a5e2 | |
parent | eb374030fe7b80f9f249307143ad3043077b71ed [diff] |
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.