[issue45527] Reduce overhead for cache hits in specialized opcodes.
Ken Jin
report at bugs.python.org
Wed Oct 20 06:43:04 EDT 2021
Ken Jin <kenjin4096 at gmail.com> added the comment:
Strong +1 from me.
Not to mention some instructions don't even need to read the _PyAdaptiveEntry apart from recording cache hits, so that's one more dependent load and store too.
Extremely cheap instructions off the top of my head:
- BINARY_SUBSCR
- LOAD_METHOD
- LOAD_GLOBAL
- LOAD_ATTR
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45527>
_______________________________________
More information about the Python-bugs-list
mailing list