SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 8 Python

bpo-37537: Compute allocated blocks in _Py_GetAllocatedBlocks() (#14680)

Keeping an account of allocated blocks slows down _PyObject_Malloc()
and _PyObject_Free() by a measureable amount.  Have
_Py_GetAllocatedBlocks() iterate over the arenas to sum up the
allocated blocks for pymalloc.
N
Neil Schemenauer committed
5d25f2b70351fc6a56ce5513ccf5f58556c18837
Parent: f117d87
Committed by GitHub <noreply@github.com> on 7/10/2019, 7:04:16 PM