summaryrefslogtreecommitdiffstats
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-03-17 21:46:00 (GMT)
committerGitHub <noreply@github.com>2020-03-17 21:46:00 (GMT)
commit2fe815edd6778fb9deef8f8044848647659c2eb8 (patch)
treec22add59ac05b77cbc9b767f18b0d54768e8b463 /Python/strdup.c
parentd469d666b874ae746ca9a17bbfc9dbbf6fb2d6bc (diff)
downloadcpython-2fe815edd6778fb9deef8f8044848647659c2eb8.zip
cpython-2fe815edd6778fb9deef8f8044848647659c2eb8.tar.gz
cpython-2fe815edd6778fb9deef8f8044848647659c2eb8.tar.bz2
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/strdup.c')
0 files changed, 0 insertions, 0 deletions