[issue26249] Change PyMem_Malloc to use PyObject_Malloc allocator?

STINNER Victor report at bugs.python.org
Tue Feb 2 09:48:38 EST 2016


STINNER Victor added the comment:

>> It looks like some benchmarks are up to 4% faster:

> What this says is that some internals uses of PyMem_XXX should be replaced with PyObject_XXX.

Why not changing PyMem_XXX to use the same fast allocator than PyObject_XXX? (as proposed in this issue)

FYI we now also have the PyMem_RawXXX family :)

----------

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


More information about the Python-bugs-list mailing list