[Haskell-cafe] Alternative to Data.Binary
Manlio Perillo
manlio_perillo at libero.it
Sat Mar 14 15:13:20 EDT 2009
Don Stewart ha scritto:
> grzegorz.chrupala:
>> Hi all,
>> Is there a serialization library other than the Data.Binary from hackage?
>>
>> I am using Data.Binary in a couple of projects, but I have found its stack
>> and memory usage very hard to control. Its very common that decoding a map
>> or list of non-trivial size uses up all available RAM, or causes a stack
>> overflow.
>>
> [...]
> Have you tried the latest release, which modified the Map and [a]
> instances?
>
Tried right now.
My [UArr (Word32 :*: Word8)], where the list length is 17770, now
requires 660 MB of memory, when decoding, against 840 MB with the
previous version of the binary package.
This is fantastic, thanks!
Regards Manlio
More information about the Haskell-Cafe
mailing list