bpo-43574: Dont overallocate list literals#24954
Closed
chadnetzer wants to merge 11 commits into
python:mainpython/cpython:mainfrom
chadnetzer:bpo43574-dont-overallocate-list-literalschadnetzer/cpython:bpo43574-dont-overallocate-list-literalsCopy head branch name to clipboard
Closed
bpo-43574: Dont overallocate list literals#24954chadnetzer wants to merge 11 commits intopython:mainpython/cpython:mainfrom chadnetzer:bpo43574-dont-overallocate-list-literalschadnetzer/cpython:bpo43574-dont-overallocate-list-literalsCopy head branch name to clipboard
chadnetzer wants to merge 11 commits into
python:mainpython/cpython:mainfrom
chadnetzer:bpo43574-dont-overallocate-list-literalschadnetzer/cpython:bpo43574-dont-overallocate-list-literalsCopy head branch name to clipboard
Commits
Commits on Mar 21, 2021
- committed
Don't overallocate when extending an empty list
Show description for 5b31470committed- committed
Commits on Mar 22, 2021
- committed
- committed
Add more list overallocation regression tests
Show description for 7c20c6ccommittedPut common-case first in logical-or list_resize()
Show description for 7be3ae8committed
Commits on Mar 23, 2021
Commits on Apr 4, 2021
Allow empty list append/insert to overallocate
Show description for 657d51fcommitted- committed
Commits on Apr 5, 2021
Add direct test of list-literal non-overallocation
Show description for 19d4374committed