00c55a1bb8
This is a compact, fast storage for variable-sized sets, typically consisting of larger ranges. It is less efficient than a bitset if ranges are both small and the domain size is small, but will still perform acceptably. With enormous domain sizes and large ranges, the interval set performs much better, as it can be much more densely packed in memory than the uncompressed bit set alternative. |
||
---|---|---|
.. | ||
bit_set | ||
interval | ||
vec | ||
bit_set.rs | ||
interval.rs | ||
lib.rs | ||
vec.rs |