]> granicus.if.org Git - python/commit
bpo-37543: optimize pymalloc (#14674)
authorInada Naoki <songofacandy@gmail.com>
Wed, 17 Jul 2019 12:23:57 +0000 (21:23 +0900)
committerGitHub <noreply@github.com>
Wed, 17 Jul 2019 12:23:57 +0000 (21:23 +0900)
commitfb26504d14a08fcd61bb92bb989b6d2b12188535
tree8ac6963cd967455bc323d5acf9c2b834b72f9b57
parent7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2
bpo-37543: optimize pymalloc (#14674)

PyObject_Malloc() and PyObject_Free() inlines pymalloc_alloc and
pymalloc_free partially.
But when PGO is not used, compiler don't know where is the hot part
in pymalloc_alloc and pymalloc_free.
Misc/NEWS.d/next/Core and Builtins/2019-07-10-20-33-53.bpo-37543.EvI19D.rst [new file with mode: 0644]
Objects/obmalloc.c