parallel_sum

Function parallel_sum 

Source
pub fn parallel_sum<T>(items: &[T]) -> T
where T: Clone + Send + Sync + Sum,
Expand description

Sum elements in parallel