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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe