Unpack primitive types by default in data

Johan Tibell johan.tibell at gmail.com
Tue Feb 28 16:56:46 CET 2012

On Tue, Feb 28, 2012 at 1:11 AM, Simon Marlow <marlowsd at gmail.com> wrote:
> I think there are some in GHC - I've been surprised occasionally when adding
> an UNPACK makes things worse.

I just realized that there is a failure mode I didn't quite consider:
having a mix of strict and non-strict primitive fields. While this can
happen on purpose, I think it happens more often due to non-strict
being the default. Having a field with such a mix might lead to more


More information about the Glasgow-haskell-users mailing list