in reply to Re^2: Why is the execution order of subexpressions undefined? (victim)
in thread Why is the execution order of subexpressions undefined?
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why is the execution order of subexpressions undefined? (sane?)
by tye (Sage) on Apr 12, 2005 at 05:42 UTC | |
by BrowserUk (Patriarch) on Apr 12, 2005 at 06:08 UTC | |
by tye (Sage) on Apr 12, 2005 at 06:24 UTC | |
by BrowserUk (Patriarch) on Apr 12, 2005 at 06:44 UTC | |
by theorbtwo (Prior) on Apr 18, 2005 at 12:33 UTC |