Skip to main content

keep_buckets

Function keep_buckets 

Source
pub fn keep_buckets(
    entry: &mut Entry,
    buckets: &[Bucket],
    (from, final_to): (Timestamp, Timestamp),
    most: usize,
)
Expand description

Keeps buckets’ final ones (before final_to) of a range starting from in entry, unless more than most.