bearophile wrote:
Piotr Szturmaj:

I know it can't be easy drop-in addition to the current range
implementation, but who knows...

Time ago I have suggested in this newsgroup that idea, naming it
"vectorized lazyness", that was mostly ignored:

http://web.archiveorange.com/archive/v/j3CAOE6ZVy4122g4OfhS

It's also related to the idea of Segmented Iterators that I have
discussed later in this same newsgroup (I think I received no answers):

http://pdf.aminer.org/000/136/863/segmented_iterators_and_hierarchical_algorithms.pdf


I think that so far there is only a little amount of vectorized lazyness
implemented in Phobos, search for "semi-lazy parallel map" here:
http://dlang.org/phobos/std_parallelism.html

Thanks for the references. They look interesting indeed.

Reply via email to