10000 bpo-37543: optimize pymalloc (#14674) · python/cpython@fb26504 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb26504

Browse files
authored
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.
1 parent 7036e1d commit fb26504

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)
0