commit | d0919f0d6bb757b6bcfd7b2e15656d318c9d5cd9 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue May 12 03:07:40 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue May 12 03:07:40 2020 +0200 |
tree | 86586376ea6ad9d475d4e52c881cdafe808d1bbb | |
parent | b617993b7c0b0f6f679ef7003a62d0318b6d6af9 [diff] |
bpo-40602: _Py_hashtable_new() uses PyMem_Malloc() (GH-20046) _Py_hashtable_new() now uses PyMem_Malloc/PyMem_Free allocator by default, rather than PyMem_RawMalloc/PyMem_RawFree. PyMem_Malloc is faster than PyMem_RawMalloc for memory blocks smaller than or equal to 512 bytes.