[Haskell-cafe] Performance Issue

Bryan O'Sullivan bos at serpentine.com
Tue May 18 12:38:55 EDT 2010


On Tue, May 18, 2010 at 9:30 AM, Richard Warburton <
richard.warburton at gmail.com> wrote:

> A colleague of mine pointed out that ghc wasn't performing as he
> expected when optimising some code.  I wonder if anyone could offer
> any insight as to why its not noting this common subexpression:


GHC performs almost no common subexpression elimination, the reasons being
that it can introduce space leaks and undesired extra laziness.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100518/f77e301a/attachment.html


More information about the Haskell-Cafe mailing list