Common subexpression elemination (CSE)
Dinko Tenev
dinko.tenev at gmail.com
Tue Nov 28 04:34:17 EST 2006
On 11/27/06, Lennart Augustsson <lennart at augustsson.net> wrote:
>
> GHC doesn't normally do CSE. CSE can cause space leaks, so you can't
> do it willy-nilly.
> I'm sure there are some strict contexts where it could be done
> safely, but I don't think ghc uses that information (yet).
>
> -- Lennart
>
>
My apologies in advance for asking possibly stupid questions, but I don't
understand this.
How exactly can CSE cause space leaks, and what does this have to do with
strictness?
Cheers,
Dinko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20061128/8988a4a6/attachment.htm
More information about the Glasgow-haskell-users
mailing list