Crates.io | bitpacking-plus |
lib.rs | bitpacking-plus |
version | 0.2.0 |
source | src |
created_at | 2023-08-06 07:15:25.2531 |
updated_at | 2023-08-13 14:26:56.069505 |
description | Wrappers of bitpacking with extra pack formats |
homepage | https://github.com/ycli1995/bitpacking-plus |
repository | https://github.com/ycli1995/bitpacking-plus |
max_upload_size | |
id | 936964 |
size | 20,275 |
This crate wraps crate bitpacking
. It contains variant bitpacking formats, inspired by BPCells.
See also this article
Same as behaviors in vanilla compression of bitpacking.
m1
formatSame as behaviors in vanilla compression of bitpacking, but with 1 subtracted from each value prior to compression.
d1
formatSame as behaviors in delta compression of bitpacking, which transforms the original input into the difference between consecutive values prior to bitpacking. Therefore, the original input block must be sorted.
d1z
formatSimilar to d1
format but with zigzag encoding applied after difference encoding, where $zigzag(x) = 2x$ if $x > 0$, while $x < 0$, $zigzag(x) = -2x - 1$. This is best for lists of close but not fully sorted runs of integers.