[issue21233] Add *Calloc functions to CPython memory allocation API

Charles-François Natali report at bugs.python.org
Mon Apr 28 18:31:59 CEST 2014


Charles-François Natali added the comment:

> Also I did set mpd_callocfunc to PyMem_Calloc(). 2% slowdown is far
> from being a tragic result, so I guess we can ignore that.

Agreed.

> The bytes() speedup is very nice. Allocations that took one second
> are practically instant now.

Indeed.
Victor, thanks for the great work!

----------

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


More information about the Python-bugs-list mailing list