|
Boost : |
Subject: Re: [boost] Stacking iterators vs. dataflow
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-09-03 12:34:46
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk