Function q_compress::auto_compressor_config
source · pub fn auto_compressor_config<T: NumberLike>(
nums: &[T],
compression_level: usize
) -> CompressorConfig
Expand description
Automatically makes an educated guess for the best compression
configuration, based on nums
and compression_level
.
This has some compute cost by trying different configurations on a subset
of the numbers to determine the most likely one to do well.
See CompressorConfig
for information about compression levels.