Crate q_compress

source ·
Expand description

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.