document the use-cases of DenseBitSet
a bit more
This commit is contained in:
parent
a13354bea0
commit
d1f8a2c109
1 changed files with 7 additions and 1 deletions
|
@ -97,7 +97,13 @@ macro_rules! bit_relations_inherent_impls {
|
|||
|
||||
/// A fixed-size bitset type with a dense representation.
|
||||
///
|
||||
/// NOTE: Use [`GrowableBitSet`] if you need support for resizing after creation.
|
||||
/// Note 1: Since this bitset is dense, if your domain is big, and/or relatively
|
||||
/// homogeneous (for example, with long runs of bits set or unset), then it may
|
||||
/// be preferable to instead use a [MixedBitSet], or an
|
||||
/// [IntervalSet](crate::interval::IntervalSet). They should be more suited to
|
||||
/// sparse, or highly-compressible, domains.
|
||||
///
|
||||
/// Note 2: Use [`GrowableBitSet`] if you need support for resizing after creation.
|
||||
///
|
||||
/// `T` is an index type, typically a newtyped `usize` wrapper, but it can also
|
||||
/// just be `usize`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue