SkillAgentSearch skills...

Smolbitset

A library for storing dynamically sized bitsets with small storage optimization.

Install / Use

/learn @serenity-rs/Smolbitset
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

ci-badge docs-badge crates.io version rust-version-badge

smolbitset

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

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

TODO

  • [ ] improve readme / crate level docs
  • [ ] add info about sparse mode to readme / crate level docs

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1d ago
Forks2

Languages

Rust

Security Score

85/100

Audited on Apr 7, 2026

No findings