Why ranges don't return vectors?
bearophile
bearophileHUGS at lycos.com
Thu Feb 28 18:00:58 PST 2013
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
Bye,
bearophile
More information about the Digitalmars-d
mailing list