parallel_count

Function parallel_count 

Source
pub fn parallel_count<T, F>(items: &[T], predicate: F) -> usize
where T: Sync, F: Fn(&T) -> bool + Sync + Send,
Expand description

Count elements that satisfy predicate (parallel)