[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

Raymond Hettinger report at bugs.python.org
Tue Jun 7 07:53:33 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Updated the title to reflect that the peephole optimizer will likely continue to exist but in a much simpler form.  Some complex peephole optimization such as constant folding can be handled more easily and more robustly at the AST level.

Other minor peephole optimizations such as jump-to-jump simplification as still bytecode level optimizations (ones that improve the quality of the generated code without visibility to higher level semantics).

----------
title: Rewrite peephole to work on AST -> Build-out an AST optimizer, moving some functionality out of the peephole optimizer

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11549>
_______________________________________


More information about the Python-bugs-list mailing list