STINNER Victor added the comment: You might experiment Python_Calloc().
I'm not sure that this allocator is well optimized (especially the pymalloc allocator) :-/ Last time I played with it, it was slower, especially for allocations smaller than 1 MB. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28832> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com