Crate q_compress

Source
Expand description

Re-exports§

pub use standalone::Compressor;
pub use standalone::DecompressedItem;
pub use standalone::Decompressor;

Modules§

data_types
errors
standalone
wrapped

Structs§

ChunkMetadata
The metadata of a Quantile-compressed chunk.
CompressorConfig
All configurations available for a compressor.
DecompressorConfig
All configurations available for a Decompressor.
Flags
The configuration stored in a Quantile-compressed header.
Prefix
A pairing of a Huffman code with a numerical range.

Enums§

PrefixMetadata
A wrapper for prefixes in the two cases cases: delta encoded or not.

Constants§

DEFAULT_COMPRESSION_LEVEL

Functions§

auto_compress
Automatically makes an educated guess for the best compression configuration, based on nums and compression_level, then compresses the numbers to .qco bytes.
auto_compressor_config
Automatically makes an educated guess for the best compression configuration, based on nums and compression_level.
auto_decompress
Automatically makes an educated guess for the best decompression configuration, then decompresses .qco bytes into numbers.