
30 Mar
2011
30 Mar
'11
2 p.m.
On Wed, Mar 30, 2011 at 7:56 PM, Evan Laforge
It's good for big data structures since it can be unpacked into the constructor. I've seen space usage go down by 1/3 after an Integer -> Int switch. Integer is a sum type so there's an extra two words of overhead (if not mistaken, one for the tag, and one for the indirection since it can't unpack).
Yes. Integer is terrible for performance.