Stefan Behnel wrote:

> As usual: hard to draw the line once you get started on the "general" case...

Yes, this is really getting into the realm of common
subexpression elimination, which can only be done safely
if you can be sure the expression has no side effects and
its result isn't affected by anything that happens in the
meantime. Sounds very hard indeed to me.

On the other hand, sorting the multiple assignment
targets into groups depending on what conversion needs
to be done probably wouldn't be too hard.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to