◐ Shell
clean mode source ↗

bpo-45116 Fix another performance regression on Windows by neonene · Pull Request #28630 · python/cpython

Currently, MSVC tends to share the same code blocks in a too big function.
In the ceval-loop, NEXTOPARG() or DISPATCH() macros are unexpectedly shared and joined with (long) jump instructions, which disturb PGO profiling.

With this PR, MSVC seems to generate expected codes for #25244.

https://bugs.python.org/issue45116