summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2019-07-10 19:04:16 (GMT)
committerGitHub <noreply@github.com>2019-07-10 19:04:16 (GMT)
commit5d25f2b70351fc6a56ce5513ccf5f58556c18837 (patch)
tree96710d3043ad55a882f7ee91ca5744f1f11709f4 /Python/_warnings.c
parentf117d871c467e82d98b127fd77d2542600d67c39 (diff)
downloadcpython-5d25f2b70351fc6a56ce5513ccf5f58556c18837.zip
cpython-5d25f2b70351fc6a56ce5513ccf5f58556c18837.tar.gz
cpython-5d25f2b70351fc6a56ce5513ccf5f58556c18837.tar.bz2
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.
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions