parallel_map

Function parallel_map 

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

Simple parallel map function that returns Result type