snark_verifier::util

Function parallelize_iter

Source
pub fn parallelize_iter<I, T, F>(iter: I, f: F)
where I: Send + Iterator<Item = T>, T: Send, F: Fn(T) + Send + Sync + Clone,
Expand description

Parallelly executing the function on the items of the given iterator.