[issue44283] Add jump table for certain safe match-case statements
Anders Munch
report at bugs.python.org
Mon Jun 7 10:08:45 EDT 2021
Anders Munch <anders at jmunch.dk> added the comment:
Are you sure you want to do this?
This optimisation is not applicable if the matched values are given symbolic names. You would be encouraging people to write bad code with lots of literals, for speed.
----------
nosy: +AndersMunch
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44283>
_______________________________________
More information about the Python-bugs-list
mailing list