Mark Shannon <m...@hotpy.org> added the comment:
If we are hitting a size limit for PGO, then we need to reduce the size of _PyEval_EvalFrameDefault, to let the compiler do its job. Force inlining stuff is not going to help. Reverting https://github.com/python/cpython/pull/25244 for 3.10 seems to be the cleanest way to do this. Would someone with a reliable way to test performance on Windows test the effect of https://github.com/python/cpython/pull/28475, please? Longer term we need get PGO in MSVC working on larger functions, but I doubt that will be possible for 3.10. ---------- _______________________________________ 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