parallel_map

Function parallel_map 

Source
pub fn parallel_map<T, R, F>(items: &[T], f: F) -> Vec<R>
where T: Sync, R: Send + 'static, F: Fn(&T) -> R + Sync + Send,
Expand description

Execute a map operation in parallel