[Haskell-cafe] Alternative to Data.Binary
Don Stewart
dons at galois.com
Sat Mar 14 12:53:17 EDT 2009
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.
>
> I don't care that much about it being extremely fast, I just want to stop
> worrying that if I try to read a file a few percent larger than the last
> time, my program will suddenly stop working.
Have you tried the latest release, which modified the Map and [a]
instances?
-- Don
More information about the Haskell-Cafe
mailing list