Function vortex_array::compress::compute_precompression_stats

source ยท
pub fn compute_precompression_stats(arr: &ArrayData) -> VortexResult<()>
Expand description

Eagerly compute certain statistics (i.e., pruning stats plus UncompressedSizeInBytes) for an array. This function is intended to be called in compressors, immediately before compression occurs.