Skip to content

Commit 27f48f9

Browse files
committed
sparse mode
1 parent 9186fad commit 27f48f9

8 files changed

Lines changed: 837 additions & 187 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A library for dynamically sized bitsets with optimizations for memory usage.
66

7-
The first <code>usize::BITS - 1</code> bits are stored without incurring any heap allocations.\
7+
The first <code>usize::BITS - 2</code> bits are stored without incurring any heap allocations.\
88
Any larger values dynamically allocate an appropriately sized `u32` slice on the heap.\
99
Furthermore `SmolBitSet` has a niche optimization so `Option<SmolBitSet>` has the same size of 1 [`usize`].
1010

@@ -16,3 +16,7 @@ Furthermore `SmolBitSet` has a niche optimization so `Option<SmolBitSet>` has th
1616
[crates.io version]: https://img.shields.io/crates/v/smolbitset.svg?style=flat-square
1717
[rust-version-badge]: https://img.shields.io/badge/rust-1.89.0+-93450a.svg?style=flat-square
1818
[rust-version-link]: https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/
19+
20+
## TODO
21+
- [ ] improve readme / crate level docs
22+
- [ ] add info about sparse mode to readme / crate level docs

0 commit comments

Comments
 (0)