Re: [Python-Dev] Peephole Optimization

2009-02-19 Thread Raymond Hettinger
[Venkatraman S] the following line kind of confuses me and wasnt sure what exactly Raymond(et al) is planning, I think the AST optimization work is being pursued by tlee. See his current results on the branch: tlee-ast-optimize/ I don't know if this work has stalled but it was off to a good

Re: [Python-Dev] Peephole Optimization

2009-02-19 Thread Olemis Lang
On Thu, Feb 19, 2009 at 8:53 AM, Venkatraman S wrote: > Hi, Hi ... > > If there are some optimizations that can be done in the bytecodes, then > 'where' would be > the suggested place to incorporate the same; The way I modify function's bytecode now (... but I am open to further suggestions ...

[Python-Dev] Peephole Optimization

2009-02-19 Thread Venkatraman S
Hi, I was looking around possibilities of bytecode optimizations in cpython and was looking at some older bugs. One of them being issue#2499; the following line kind of confuses me and wasnt sure what exactly Raymond(et al) is planning, as i presume that bytecode