Ma Lin <malin...@163.com> added the comment:

Like OP's benchmark, if convert the inline functions to macros in object.h, the 
3.10 branch is 1.03x faster, but still 1.07x slower than 28d28e0~1.
@vstinner could you prepare such a PR as a candidate fix.

There seem to be two ways to solve it in short-term.
1, Split the giant function.
2, Contact MSVC team to see if there is a quick solution, such as undocumented 
options.

But the release time is too close. The worst result is to release with the 
performance regression, and note  in the download page that there is a 
performance regression, if you care about performance please use 3.9.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to