Skip to main content

count_runs

Function count_runs 

Source
fn count_runs(indices: &[usize]) -> usize
Expand description

Cuts the retained indices into maximal runs of consecutive positions.