Unpack primitive types by default in data

Johan Tibell johan.tibell at gmail.com
Fri Feb 17 04:30:11 CET 2012


Hi all,

On Thu, Feb 16, 2012 at 4:59 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
> On Thu, Feb 16, 2012 at 4:52 PM, Alex Mason <axman6 at gmail.com> wrote:
>> How difficult do you think it would be to implement this in GHC?
>
> Quite easy I think. All the difficulty is in getting good benchmarks.

The computeRep function in compiler/basicTypes/DataCon.lhs seems to be
the right place for this.

-- Johan



More information about the Glasgow-haskell-users mailing list