mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-94841: Ensure arena_map_get() is inlined in PyObject_Free() (#94842)
This commit is contained in:
parent
6cbb57f62d
commit
9b3f779209
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Fix the possible performance regression of :c:func:`PyObject_Free` compiled with MSVC version 1932.
|
|
@ -1446,7 +1446,7 @@ static arena_map_bot_t arena_map_root;
|
|||
|
||||
/* Return a pointer to a bottom tree node, return NULL if it doesn't exist or
|
||||
* it cannot be created */
|
||||
static arena_map_bot_t *
|
||||
static Py_ALWAYS_INLINE arena_map_bot_t *
|
||||
arena_map_get(block *p, int create)
|
||||
{
|
||||
#ifdef USE_INTERIOR_NODES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue