[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented

STINNER Victor report at bugs.python.org
Wed Apr 21 19:28:53 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

IMO we spent enough time micro-optimizing _functools and _PyType_GetModuleByDef(). I don't think that it's worth it to spend too much time trying to investigate differences between benchmarks around +- 1 ns on ~40 ns. I close the issue.

Thanks Raymond for fixing the slowdown ;-)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list