
3 Sep
2008
3 Sep
'08
4:34 p.m.
Note that the serialization library "Dataflow iterators" use "stacked iterators" created at compile time. fn1< fn2< fn3< fn4<T> > >
(iterator on huge document)
You might find it interesting to look at this. Robert Ramey Phil Endecott wrote:
I also note that Arno wants to use stacked iterators because this alternative: result = fn1( fn2( fn3( fn4( huge_document ) ) ) );
creates large intermediates and requires dynamic allocation. Again, a framework that allowed buffering of "sensible size" chunks and potentially distributed the work between threads could be a good solution.