◐ Shell
reader mode source ↗
Skip to content

bpo-38373: Change list overallocating strategy.#18952

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:list-overallocate
Mar 17, 2020
Merged

bpo-38373: Change list overallocating strategy.#18952
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:list-overallocate

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Mar 12, 2020

Copy link
Copy Markdown
Member
  • 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.

https://bugs.python.org/issue38373

* 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.
@serhiy-storchaka serhiy-storchaka merged commit 2fe815e into python:master Mar 17, 2020
@serhiy-storchaka serhiy-storchaka deleted the list-overallocate branch March 17, 2020 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants