On Fri, Apr 24, 2009 at 08:40, Edward Kmett <ekm...@gmail.com> wrote:
> The only caveat I would mention about using Data.Binary is that it traverses
> lists twice to encode them. Once to determine the length and once to output
> the list. As a result you may see space-leak-like behavior when encoding
> very long lists with Data.Binary.

The same holds for reading back a very long list.  It forces the list
spine before you can get at any elements.
                              Denis
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to