Crates.io | bitsets |
lib.rs | bitsets |
version | 0.1.1 |
source | src |
created_at | 2018-06-10 23:24:00.183351 |
updated_at | 2018-10-20 14:27:06.408754 |
description | BitSet implementations: Dense, Compressed, Memory-Mapped, and Roaring. |
homepage | https://github.com/Zintinio/bitsets |
repository | https://github.com/Zintinio/bitsets |
max_upload_size | |
id | 69539 |
size | 14,267 |
Various heap-allocated bitset implementations in Rust.
At the moment we provide a DenseBitSet
datastructure, and plan to provide compressed and memory-mapped
bitsets in the near future.
use bitsets::DenseBitSet;
let A = DenseBitSet::from_bits(0b1001100000100010);
let B = DenseBitSet::from_bits(0b1001100000100010);
let C = A.or(&B);