[issue26219] implement per-opcode cache in ceval

Mark Shannon report at bugs.python.org
Mon Oct 7 08:41:00 EDT 2019


Mark Shannon <mark at hotpy.org> added the comment:

Given that
def foo(): int; str; bytes; float; int; str; bytes; float
can be trivially be rewritten as
def foo(): pass
I think that benchmark is meaningless.

I really don't think we should be making claims like "40% speedup" for such contrived examples.

It looks like the speedup is real, but only about 2% speedup overall.
The "what's new" should reflect that, IMO.

----------

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


More information about the Python-bugs-list mailing list