[issue28924] Inline PyEval_EvalFrameEx() in callers

Steve Dower report at bugs.python.org
Sun Dec 11 08:53:57 EST 2016


Steve Dower added the comment:

MSVC automatically inlines it on Windows (and yes, it broke some of our debugging support in Visual Studio, but we can fix it by setting the eval func).

IMHO, inlining is best left to profiling optimizers. If you notice a regression, add a test case that drives it to the point where it gets inlined. But it's not worth reducing maintainability of the code base for this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28924>
_______________________________________


More information about the Python-bugs-list mailing list