parallel_map_chunked

Function parallel_map_chunked 

Source
pub fn parallel_map_chunked<T, U, F>(
    items: Vec<T>,
    chunk_size: usize,
    map_fn: F,
) -> Vec<U>
where T: Send, U: Send, F: Fn(T) -> U + Sync + Send,
Expand description

Parallel map with configurable chunk size