fn spans_and_counts(buckets: &[(i32, f64)]) -> (Vec<Span>, Vec<f64>)Expand description
The spans and absolute counts an owned bucket list encodes as: one span per run of consecutive bucket indices, the first span starting at its own index and every later one stating its gap.