• Victor Stinner's avatar
    Issue #26588: · 09c01ddc
    Victor Stinner authored
    * Optimize tracemalloc_add_trace(): modify hashtable entry data (trace) if the
      memory block is already tracked, rather than trying to remove the old trace
      and then add a new trace.
    * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
    09c01ddc
_tracemalloc.c 43.7 KB