On 03/04/2013 09:06 PM, Andrea Fontana wrote:
If I understand it correctly something like:

range.filter!(...).map!(...)

browse range 2 times, one for filter and one for mapping doesn't it?


It does not.

Is there a way to "parallelize" this kind of operations?


Interleaving is the default. To perform two traversals you'd have to force evaluation using eg. range.filter!(...).array.map!(...).

Reply via email to