Skip to content

Commit 259d112

Browse files
methanelisroach
authored andcommitted
bpo-37543: optimize pymalloc (python#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.
1 parent 44571bb commit 259d112

File tree

2 files changed

+227
-218
lines changed

2 files changed

+227
-218
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Optimized pymalloc for non PGO build.

0 commit comments

Comments
 (0)