[issue1346238] A constant folding optimization pass for the AST

Raymond Hettinger report at bugs.python.org
Fri Nov 5 22:55:48 CET 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

David, it would be great if an optional AST optimization pass could do something that we don't already have (perhaps, loop invariant code motion when python is called with -OO or somesuch).  The AST tree makes it possible for the first time to provide some non-trivial optimizations, so aim high.

----------

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


More information about the Python-bugs-list mailing list