This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients Mark.Shannon, jdemeyer, petr.viktorin
Date 2019-04-12.16:25:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
The bytecode interpreter uses an inline function call_function() to handle most function calls. To check for profiling, call_function() needs to call to PyThreadState_GET().

In the reference implementation of PEP 590, I saw that we can remove these PyThreadState_GET() calls by passing the thread state from the main eval loop to call_function().

I suggest to apply this optimization now, because they make sense independently of PEP 580 and PEP 590 and to give a better baseline for performance comparisons.
History
Date User Action Args
2019-04-12 16:25:26jdemeyersetrecipients: + jdemeyer, petr.viktorin, Mark.Shannon
2019-04-12 16:25:26jdemeyersetmessageid: <[email protected]>
2019-04-12 16:25:26jdemeyerlinkissue36616 messages
2019-04-12 16:25:25jdemeyercreate