Function reduce_w_cache

Source
pub fn reduce_w_cache<Op, I, Cache>(
    _: Op,
    bitsets: I,
    _: Cache,
) -> Option<Reduce<Op, I, Cache>>
where Op: BitSetOp, I: Iterator + Clone, I::Item: BitSetInterface, Cache: ReduceCache,
Expand description

reduce, using specific cache for iteration.

Cache applied to current operation only, so you can combine different cache types.

N.B. Alternatively, you can change Config::DefaultCache and use reduce.

ยงSafety

Panics, if Cache capacity is smaller then sets len.