2010/5/18 Richard Warburton <richard.warbur...@gmail.com>:
>> GHC performs almost no common subexpression elimination, the reasons being
>> that it can introduce space leaks and undesired extra laziness.
> Is there any way to encourage it to do so, for example compilation
> flags?  Or is it generally best to hand apply these kind of
> optimisations.

I think that handmade common expression elimination improves overall
quality of code. ;)

(as it amounts to refactoring it)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to