On Fri, May 14, 2010 at 08:57:42AM -0700, John Millikin wrote: > Additionally, since the original bytestring is shared in your types, > potentially very large buffers could be locked in memory due to > references held by only a small portion of the document. Chopping a > document up into events or nodes creates some overhead due to the > extra pointers, but allows unneeded portions to be freed.
However, if your bytestring comes from mmap'ed memory this drawback wouldn't apply :D. -- Felipe. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe