in reply to Re^3: Why isn't return removed from optree?
in thread Why isn't return removed from optree?

But how are they different? Those both do exactly the same thing in both a scalar and list context, as far as I could tell.
  • Comment on Re^4: Why isn't return removed from optree?

Replies are listed 'Best First'.
Re^5: Why isn't return removed from optree?
by ikegami (Patriarch) on Dec 29, 2008 at 20:33 UTC

    Are you suggesting that the optimizer should replace the return with list? I don't remember seeing it replace one op for another except in constant folding.