
14 Mar
2009
14 Mar
'09
12:53 p.m.
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