[issue36616] Optimize thread state handling in function call code

STINNER Victor report at bugs.python.org
Mon Apr 15 04:54:33 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I wanted to do that, but I never measured the overhead of PyThreadState_GET() calls. Subtle detail: using _PyThreadState_GET() ("_Py") prefix rather than PyThreadState_GET() ensures that you get the optimized macro ;-)

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36616>
_______________________________________


More information about the Python-bugs-list mailing list