pub fn parallel_collect<T, F, R>(source: &[T], map_op: F) -> Vec<R>
where T: Send + Sync, F: Fn(&T) -> R + Sync + Send, R: Send,
Expand description

Maps collection and collects results into vector in parallel.