Skip to main content

process_chunks

Function process_chunks 

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

Parallel chunk processor