[Python-Dev] No longer enable Py_TRACE_REFS by default in debug build

Serhiy Storchaka storchaka at gmail.com
Thu Apr 11 01:45:28 EDT 2019

10.04.19 14:01, Victor Stinner пише:
> Disabling Py_TRACE_REFS by default in debug mode reduces the Python
> memory footprint. Py_TRACE_REFS costs 2 pointers per PyObject: 16
> bytes on 64-bit platforms.

Does not the memory allocator in debug mode have even larger cost per 
allocated block?

More information about the Python-Dev mailing list