Skip to main content

invert

Function invert 

Source
pub fn invert<'a, I>(
    progress: I,
    total_size: u64,
    window: u64,
) -> InvertIter<'a, I> 
where I: Iterator<Item = &'a ProgressEntry>,
Expand description

window: 当一个 ProgressEntry 的长度小于 window 时,会被合并到空洞内,以减少碎片化进度。