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

INADA Naoki report at bugs.python.org
Wed Feb 1 02:16:25 EST 2017


INADA Naoki added the comment:

Before trying advanced optimizations, I want move suspended obvious optimizations forwards.

For example, removing unused constants is suspended because constant folding
should be moved from peephole to AST.  This is why I found this issue.

After that, I'm thinking about shrinking stacksize. frame_dealloc (scans whole stack) is one of hot functions.

----------

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


More information about the Python-bugs-list mailing list