Message130586
| Author |
pitrou |
| Recipients |
eltoder, mark.dickinson, pitrou, rhettinger |
| Date |
2011年03月11日.16:38:12 |
| SpamBayes Score |
0.00022743377 |
| Marked as misclassified |
No |
| Message-id |
<1299861488.3732.3.camel@localhost.localdomain> |
| In-reply-to |
<1299861053.67.0.552825602522.issue11462@psf.upfronthosting.co.za> |
| Content |
> Also, the peephole optimizer was developed before the AST branch was
> added to Python. Constant folding more properly belongs at the AST
> level, not in the peepholer itself. Our strategy is to move as much
> as possible into an AST optimizer and to stop building out the
> peephole optimizer.
Who is working on this "strategy"?
Until someone takes it to task to implement the "correct pattern", I
think iterative improvement of the peepholer is a reasonable thing. |
|