Hello Duncan,
Thursday, June 21, 2007, 8:48:53 AM, you wrote:
The smallest possible would be 2 words overhead by just using a
ByteArray#,
i tried it once and found that ByteArray# size is returned rounded to 4 -
there is no way in GHC runtime to alloc, say, exactly 37 bytes. and
don't
On Fri, 2007-06-22 at 10:52 +0400, Bulat Ziganshin wrote:
i tried it once and found that ByteArray# size is returned rounded to 4 -
there is no way in GHC runtime to alloc, say, exactly 37 bytes. and
don't forget to add 2 unused bytes at average
Right, GHC heap object are always aligned