Skip to main content

detect_f64_codec

Function detect_f64_codec 

Source
pub fn detect_f64_codec(values: &[f64]) -> ColumnCodec
Expand description

Detect the optimal codec for an f64 column by analyzing the data.

For partitions ≥ CASCADE_THRESHOLD values with >95% ALP encodability, selects AlpFastLanesLz4. Otherwise falls back to Gorilla.