Skip to content

Kazik24/bitlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitlist

License Crate Documentation

Word-sized bit list implementation with bigint functionality.

Main type of this crate is BitList - dynamic bitset storing up to 57 bits (on 64-bit target) inline without allocation, heap allocating for more bits.

Size of BitList is equal to size_of::<usize>(), type is also niche optmizated so Option<BitList> is same size as BitList.

The crate is under developement, it's missing documentation and examples. But is otherwise usefull and most of the methods do what you expect. Please also checkout BitsIter type as it is not only an iterator but also has methods to effeciently find bits in sparse lists.

About

Word-sized bit list implementation with bigint functionality

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages