
14 May
2010
14 May
'10
2:31 p.m.
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.