vortex_decimal_byte_parts/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4mod decimal_byte_parts;
5
6/// This encoding allow compression of decimals using integer compression schemes.
7/// Decimals can be compressed by narrowing the signed decimal value into the smallest signed value,
8/// then integer compression if that is a value `ptype`, otherwise the decimal can be split into
9/// parts.
10/// These parts can be individually compressed.
11/// This encoding will compress large signed decimals by removing the leading zeroes (after the sign)
12/// an i128 decimal could be converted into a [i64, u64] with further narrowing applied to either
13/// value.
14pub use decimal_byte_parts::*;