]> granicus.if.org Git - python/commit
Issue #26588:
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 08:38:54 +0000 (09:38 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 08:38:54 +0000 (09:38 +0100)
commitca79ccd9e69641330d4002acac1bfeeb2dccda32
tree5c7db82460bd48e35530aa8658ae6c9f0d19d87e
parente8c6b2fd1bb75c6a3865745de30f26e235d3f12f
Issue #26588:

* 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
Include/pymem.h
Modules/_tracemalloc.c
Modules/hashtable.h