[issue26249] Change PyMem_Malloc to use pymalloc allocator

Antoine Pitrou report at bugs.python.org
Wed Mar 9 12:13:22 EST 2016


Antoine Pitrou added the comment:

Le 09/03/2016 18:01, STINNER Victor a écrit :
> I don't understand why we should keep a slow allocator if Python has a faster allocator?

Define "slow".  malloc() on Linux should be reasonably fast.

Do you think it's reasonable to risk breaking external libraries just
for a hypothetic "performance improvement"?

Again, why don't you try simply changing internal calls?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26249>
_______________________________________


More information about the Python-bugs-list mailing list