snark_verifier::util

Function parallelize

Source
pub fn parallelize<T, F>(v: &mut [T], f: F)
where T: Send, F: Fn((&mut [T], usize)) + Send + Sync + Clone,
Expand description

Parallelly executing the function on the given mutable slice.