Skip to content

serenity-rs/smolbitset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

smolbitset

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

The first usize::BITS - 1 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].

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages