Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

Appearance settings

bpo-38373: Change list overallocating strategy.#18952

Merged
serhiy-storchaka merged 1 commit into
python:masterpython/cpython:masterfrom
serhiy-storchaka:list-overallocateserhiy-storchaka/cpython:list-overallocateCopy head branch name to clipboard
Mar 17, 2020
Merged

bpo-38373: Change list overallocating strategy.#18952
serhiy-storchaka merged 1 commit into
python:masterpython/cpython:masterfrom
serhiy-storchaka:list-overallocateserhiy-storchaka/cpython:list-overallocateCopy head branch name to clipboard

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

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.