[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes
Yury Selivanov
report at bugs.python.org
Thu Dec 17 15:22:48 EST 2020
Yury Selivanov <yselivanov at gmail.com> added the comment:
> I will try to do some prototyping around that to see how much can we gain in that route. In any case, adding LOAD_METHOD support for all kinds of calls should be an improvement by itself even without caching, no?
Exactly.
As one argument for generalizing of LOAD_METHOD is that I, for example, try not to use kwargs in hot paths because I know it will be slower, which feels very wrong. I shouldn't care of internal implementation details of CPython and focus on writing readable code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42115>
_______________________________________
More information about the Python-bugs-list
mailing list