Skip to main content

encode_f64

Function encode_f64 

Source
pub fn encode_f64(values: &[f64]) -> Vec<u8> 
Expand description

Encode a slice of f64 values using Gorilla XOR compression.

Uses synthetic sequential timestamps (0, 1, 2, …) so the timestamp channel compresses to near-zero overhead.