needforspeed: use PyObject_MALLOC instead of system malloc for small
allocations. Use PyMem_MALLOC for larger (1k+) chunks. 1%-2% speedup.
Showing
Please
register
or
sign in
to comment
allocations. Use PyMem_MALLOC for larger (1k+) chunks. 1%-2% speedup.