[Haskell-cafe] haskell crypto is reaaaaaaaaaally slow

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Jun 21 00:14:22 EDT 2007


Hello Duncan,

Thursday, June 21, 2007, 7:36:13 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 forget to add 2 unused bytes at average

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list