[issue28924] Inline PyEval_EvalFrameEx() in callers
Serhiy Storchaka
report at bugs.python.org
Thu Dec 15 03:40:35 EST 2016
Serhiy Storchaka added the comment:
Ah, now I see. I was confused by the fact that eval_frame is set only to _PyEval_EvalFrameDefault.
But how large the gain of inlining PyEval_EvalFrameEx()? Is it worth cluttering the code?
Since almost all calls of PyEval_EvalFrameEx() are in the same file as its definition, I suppose the compiler can inline it even without PGO.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28924>
_______________________________________
More information about the Python-bugs-list
mailing list