Registry / utility / bitpacking

bitpacking

JSON →
library0.9.3rscratesunverified

Fast integer compression/decompression via SIMD bit-packing. Port of simdcomp to Rust.

# Cargo.toml [dependencies] bitpacking = "0.9.3"
INSTALL
IMPORT
SIG · BITPACKING
B
bitpacking
utilityrustv0.9.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BitPacker
use bitpacking::BitPacker;

Compress a vector of integers using SIMD bit-packing.

use bitpacking::BitPacker; fn main() { let packer = BitPacker::new(); let input = vec![1u32, 2, 3, 4]; let compressed = packer.compress(&input); println!("Compressed {} integers", compressed.len()); }
Debug
Known issues
gotchaRequires CPU with SIMD support (SSE2/AVX2).
fix
Enable the appropriate feature flags or use fallback implementation.
affects: >=0.0.0
Upgrade
Version history
0.9.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources
bitpacking — cargo add bitpacking · libregistry