Antoine Pitrou <pit...@free.fr> added the comment:

> But some peephole optimizations will work with the intermediate fixed-size 
> representations used by the compiler, before generating the concrete bytecode.

Then perhaps the goal should be to make the peephole operate on that 
intermediate representation?

I think it's valuable to have a separate C module for optimizations, instead of 
cramming them in compiler.c.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32477>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to