parallel_zip

Function parallel_zip 

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

Parallel zip - combines two slices element-wise