Skip to content

rust-cv/bitarray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitarray

Discord Crates.io MIT/Apache docs.rs LoC Tests Lints no_std

A compile time sized array of bits that uses const generics and intrinsics.

This library was created to maximize the speed of hamming weight and hamming distance computation. It could be used for many other things. Contributions are welcome!

The minimum supported rustc version is 1.51

Features

Enable the unstable-512-bit-simd feature if you would like to use 512-bit SIMD instructions to speed up the library. This feature does not compile on all machines for some currently unknown reason, as an LLVM intrinsics error is reported, even with the same compiler version and host tripple.

Questions

Please visit Discord if you have any questions or want to contribute. Also feel free to file an issue on GitHub.

About

A compile time sized array of bits

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages