diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-03-17 23:46:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 23:46:00 +0200 |
commit | 2fe815edd6778fb9deef8f8044848647659c2eb8 (patch) | |
tree | c22add59ac05b77cbc9b767f18b0d54768e8b463 /Python/pylifecycle.c | |
parent | d469d666b874ae746ca9a17bbfc9dbbf6fb2d6bc (diff) | |
download | cpython-git-2fe815edd6778fb9deef8f8044848647659c2eb8.tar.gz |
bpo-38373: Change list overallocating strategy. (GH-18952)
* Add padding to make the allocated size multiple of 4.
* Do not overallocate if the new size is closer to overalocated size
than to the old size.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions