[issue26722] Fold compare operators on constants (peephole)
Nick Coghlan
report at bugs.python.org
Sat Apr 9 22:48:52 EDT 2016
Nick Coghlan added the comment:
Nice work on getting this running, Alexander. However, as Victor and Raymond noted, we're looking to head in a different direction with our bytecode optimisation efforts, which is to better support pluggable AST level optimisations that can make more assumptions about the runtime environment.
If this is a topic you'd like to explore further, then in addition to Victor's FAT Python project, you may also be interested in his proposals to add some supporting infrastructure for that to Python 3.6:
* Dict versioning: https://www.python.org/dev/peps/pep-0509/
* Function specialisation: https://www.python.org/dev/peps/pep-0510/
* Code transformers: https://www.python.org/dev/peps/pep-0511/
----------
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26722>
_______________________________________
More information about the Python-bugs-list
mailing list