Expand description
Read-modify-write values for a contiguous range of keys, in a range map
Separate module mostly so that the tests have somewhere convenient to live.
Arguably this should be in another crate. But it brings in rangemap as a dependency which seems undesirable for tor-basic-utils. Right now it is here because this is where its (lowest in stack) call site will be.
Re-exportsยง
use std::ops::Bound;๐use std::ops::RangeInclusive;๐use itertools::Itertools;๐use itertools::chain;๐use itertools::chain;๐use rangemap::RangeInclusiveMap;๐use rangemap::StepFns;๐use rangemap::StepLite;๐use tor_basic_utils::rangebounds::RangeBoundsExt;๐
Functionsยง
- rangemap_
mutate_ range - Read-modify-write values for a contiguous range of keys, in a range map