Unpack primitive types by default in data

Johan Tibell johan.tibell at gmail.com
Fri Feb 17 22:44:34 CET 2012


On Fri, Feb 17, 2012 at 1:11 PM, Roman Leshchinskiy <rl at cse.unsw.edu.au> wrote:
> On 17/02/2012, at 17:51, Johan Tibell wrote:
>> All of the above. Put in other words: all fields whose final
>> representation type could be the size of a pointer if we unpacked
>> enough.
>
> Ok, that makes sense. I would include Double# and Int64# in this list. For the simple reason that if the target audience are beginners they will have a hard time figuring out why their programs run 20x faster with Float/Int than with Double/Int64 instead of just 2x faster.

Makes sense to me.

-- Johan



More information about the Glasgow-haskell-users mailing list