[Python-Dev] Suggest reverting today's checkin (recursive constant folding in the peephole optimizer)
Eugene Toder
eltoder at gmail.com
Tue Mar 15 05:56:55 CET 2011
To give this a positive spin, here's a patch that implements constant
folding on AST (it does few other optimizations on compiler data
structures, so it replaces "peephole over bytecode" completely).
http://bugs.python.org/issue11549
It passes make test, but of course more testing is needed. Comments are welcome.
Eugene
More information about the Python-Dev
mailing list