Hallo,

On 9/6/06, Lennart Augustsson <[EMAIL PROTECTED]> wrote:
Furthermore, doing that optimization (common subexpression
elimination) can lead to space leaks.  So you should not count on the
compiler doing it.  Besides, I often find it more readable and less
error prone to name a common subexpression; only one place to change
when you need to change the call.


    So there is no benefits from the "functions have no side-effects"
property, performance-wise. Pity.

--
-alex
http://www.ventonegro.org/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to