Crate q_compress
source ·Expand description
For crate-level documentation, see either https://crates.io/crates/q_compress or https://github.com/mwlon/pcodec/tree/main/quantile-compression/q_compress.
Re-exports
pub use standalone::Compressor;
pub use standalone::DecompressedItem;
pub use standalone::Decompressor;
Modules
Structs
- The metadata of a Quantile-compressed chunk.
- All configurations available for a compressor.
- 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
- 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
andcompression_level
, then compresses the numbers to .qco bytes. - Automatically makes an educated guess for the best compression configuration, based on
nums
andcompression_level
. - Automatically makes an educated guess for the best decompression configuration, then decompresses .qco bytes into numbers.