python-compiler.old
python-compiler.old copied to clipboard
Implement bytecode peephole optimizer pass
Currently, comparing results of CPython compilation requires a custom build of CPython3.5 with peephole optimizer disabled. It would be nice to implement peephole optimization pass in python-compiler, to be able to use pristine CPython. (And of course, to allow to experiment with more optimizations in peephole pass.)