Crate q_compress
source ·Expand description
For crate-level documentation, see either https://crates.io/crates/q_compress or https://github.com/mwlon/quantile-compression/tree/main/q_compress.
Modules
Structs
The metadata of a Quantile-compressed chunk.
Converts vectors of numbers into compressed bytes in
.qco format.
All configurations available for a compressor.
Converts .qco compressed bytes into
Flags
,
ChunkMetadata
, and vectors of numbers.All configurations available for a Decompressor.
The configuration stored in a Quantile-compressed header.
A pairing of a Huffman code with a numerical range.
Enums
The different types of data encountered when iterating through the
decompressor.
A wrapper for prefixes in the two cases cases: delta encoded or not.
Constants
Functions
Automatically makes an educated guess for the best compression
configuration, based on
nums
and compression_level
,
then compresses the numbers to .qco bytes.Automatically makes an educated guess for the best compression
configuration, based on
nums
and compression_level
.Automatically makes an educated guess for the best decompression
configuration, then decompresses .qco bytes into numbers.