Module flatcontainer::impls::deduplicate
source · Expand description
Simple deduplication of equal consecutive items.
Structs§
- A region to deduplicate consecutive equal items.
- Transform an index of
(usize, usize)
to a sequence of0..
. Requires the pairs to be dense, i.e.,(i, j)
is followed by(j, k)
.