[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

Pablo Galindo Salgado report at bugs.python.org
Sat Jun 15 12:58:59 EDT 2019


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

We can add a #define for a maximum numbers of iterations. The pyperformance test suite shows speed ups of 2-3% without PGO/LTO. I will ran more concise experiments including PGO but even with a max cap of iterations (10 in my experiments) we get nice improvements without much more complexity.

----------

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


More information about the Python-bugs-list mailing list