Crates.io | bitslice |
lib.rs | bitslice |
version | 0.1.1 |
source | src |
created_at | 2023-10-12 18:57:06.490911 |
updated_at | 2023-10-18 01:37:13.595143 |
description | A crate to transpose bits into and out of bitslice format, and perform various operations on bitsliced data. |
homepage | |
repository | https://github.com/is8ac/bitslice/ |
max_upload_size | |
id | 1001625 |
size | 108,487 |
See examples/
for basic usage examples.
This crate is in early stages. While I do not expect significant API changes, performance is currently likely significantly suboptimal, and it is missing many desirable features.
This crate has only been tested on bigendian machines.
It has intrinsics for AVX512 and for ARM Neon, and a fallback implementation which should compile to most any architecture.
For good performance, be sure to set rustflags = ["-C", "target-cpu=native"]