It would be sad if Perl 6 were not free to optimizemy $x = $z * ( $y + 1 ) + $w / ( $y + 1 );
Why would defining execution order affect that optimisation?
That just common subexpression elimination--clearly defined by the parens. The only sane defined ordering would be to execute the contents of parens first?
In reply to Re^3: Why is the execution order of subexpressions undefined? (victim)
by BrowserUk
in thread Why is the execution order of subexpressions undefined?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |