Skip to main content

changed_counters

Function changed_counters 

Source
fn changed_counters(
    prev: &BTreeMap<String, u32>,
    next: &BTreeMap<String, u32>,
) -> BTreeMap<String, u32>
Expand description

The loop counters that changed. A counter for a loop guard never disappears while the run lasts (its graph is pinned), so an entry can only be added or raised, and the changed entries alone are enough to restore the map.