bpo-38373: Change list overallocating strategy. by serhiy-storchaka · Pull Request #18952 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@serhiy-storchaka

Copy link Copy Markdown

Member

@serhiy-storchaka serhiy-storchaka commented

Mar 12, 2020

edited by bedevere-bot

Loading

  • 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

Reviewers

@methane methane methane approved these changes

Assignees

No one assigned

Labels

type-feature

A feature request or enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka @methane @the-knights-who-say-ni @bedevere-bot