merge_interval

Function merge_interval 

Source
pub fn merge_interval(
    cur: (usize, usize),
    start: usize,
    count: usize,
) -> (usize, usize)
Expand description

2026-09-25: Merge a write of [start, start + count) into the interval [lo, hi). An overlapping or abutting write extends it; a disjoint write replaces it, because one interval cannot describe two runs and claiming the gap would mark unwritten rows valid.