Skip to content

bpo-38373: Change list overallocating strategy. #18952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

serhiy-storchaka
Copy link
Member

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

  • 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
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants