[Haskell-cafe] Preventing sharing

David Turner dct25-561bs at mythic-beasts.com
Sat Dec 19 14:31:00 UTC 2015


You're right, I think. I wasn't being very scientific with my
investigation. Though as mentioned, -fno-full-laziness seems like a bit of
a sledgehammer.
On 18 Dec 2015 18:54, "Tom Ellis" <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:

> On Fri, Dec 18, 2015 at 06:43:10PM +0000, David Turner wrote:
> > Some combination of dummy arguments, NOINLINE and -fno-full-laziness did
> > indeed prevent it from sharing but this definitely seemed unsatisfactory.
> > Particularly that -fno-full-laziness applies to the whole module which
> > feels a bit heavyweight.
>
> I would be very surprised if -fno-full-laziness did not fix the issue on
> its
> own.  Do you have a simple example which I can reproduce myself that shows
> that it doesn't?
>
> Tom
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151219/e1d56d7f/attachment.html>


More information about the Haskell-Cafe mailing list