Skip to content

Commit

Permalink
bpo-37543: optimize pymalloc (python#14674)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
methane authored Jul 17, 2019
1 parent 7036e1d commit fb26504
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 218 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Optimized pymalloc for non PGO build.
Loading

0 comments on commit fb26504

Please sign in to comment.