pub fn dod_encode(out: &mut Vec<u8>, v: &[i64])
Delta-of-delta: first value, first delta, then zig-zag second differences. Wins on near-linear progressions (timestamps with jitter).