[Python-Dev] Peephole Optimization

Olemis Lang olemis at gmail.com
Thu Feb 19 15:14:40 CET 2009


On Thu, Feb 19, 2009 at 8:53 AM, Venkatraman S <venkat83 at gmail.com> 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 ... ;) is writing decorators ... but this is not valid for
more general transformations (AFAICS ...).

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:


More information about the Python-Dev mailing list