[issue38373] List overallocation strategy

Tim Peters report at bugs.python.org
Sat Oct 5 01:32:19 EDT 2019


Tim Peters <tim at python.org> added the comment:

Don't know.  Define "the problem" ;-)  As soon as the allocation is over 512 bytes (64 pointers), it's punted to the system malloc family.  Before then, do a relative handful of relatively small memcpy's really matter?

pymalloc is faster than system mallocs, and probably uses space more efficiently.  There are no pure wins here :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38373>
_______________________________________


More information about the Python-bugs-list mailing list