SIGN IN SIGN UP

bpo-38373: Change list overallocating strategy. (GH-18952)

* 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.
S
Serhiy Storchaka committed
2fe815edd6778fb9deef8f8044848647659c2eb8
Parent: d469d66
Committed by GitHub <noreply@github.com> on 3/17/2020, 9:46:00 PM