[Haskell-cafe] Is there any way to prevent a computation from being shared?

Petr Prokhorenkov prokhorenkov at gmail.com
Mon Nov 15 19:18:19 EST 2010


On Mon, Nov 15, 2010 at 11:27 PM, Brian Bloniarz
<brian.bloniarz at gmail.com> wrote:
>
> So I think you're seeing bug http://hackage.haskell.org/trac/ghc/ticket/917
> where the increased sharing only leads to space leaks. You could
> try the workaround, passing -fno-full-laziness (it might need to
> come after -O on the command line).
>
> I'm not sure if this'd be more or less fragile than disabling
> inlining as Felipe suggested. I'd also suggest adding
> yourself as a CC: on bug 917 so GHC HQ knows how many people
> are being affected by this kind of behavior.
>
> Hope this helps,
> -Brian

Thank you a lot, that is definitely it.
I still reckon it would not be resolved anytime soon :(

--
Regards,
Petr


More information about the Haskell-Cafe mailing list