Skip to main content

time_index_scan_start

Function time_index_scan_start 

Source
pub fn time_index_scan_start(
    entries: &[TimeEntry],
    target_timestamp: i64,
) -> u32
Expand description

A safe sparse starting offset for a forward scan seeking timestamp >= target.

Entries carry running maxima. Starting at an equal maximum could skip its first occurrence, so only a strictly smaller maximum may advance the scan.