From 39ebc95414846ee66f7868b6c921623ac218a91c Mon Sep 17 00:00:00 2001 From: neonene <53406459+neonene@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:17:20 +0900 Subject: [PATCH 1/2] Py_ALWAYS_INLINE --- Objects/obmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 78a6f01a0964ed..1d487d8e807a22 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -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 From 0900f4d04edc7fc655342c83f57545acc5338e20 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 02:45:45 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Build/2022-07-14-02-45-44.gh-issue-94841.lLRTdf.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Build/2022-07-14-02-45-44.gh-issue-94841.lLRTdf.rst diff --git a/Misc/NEWS.d/next/Build/2022-07-14-02-45-44.gh-issue-94841.lLRTdf.rst b/Misc/NEWS.d/next/Build/2022-07-14-02-45-44.gh-issue-94841.lLRTdf.rst new file mode 100644 index 00000000000000..f7ad4f88a51db0 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-07-14-02-45-44.gh-issue-94841.lLRTdf.rst @@ -0,0 +1 @@ +Fix the possible performance regression of :c:func:`PyObject_Free` compiled with MSVC version 1932.