STINNER Victor <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue36616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com