Struct gibbon::DoubleStream [] [src]

pub struct DoubleStream { /* fields omitted */ }

A DoubleStream compresses f64 numbers by looking at the XOR between consecutive updates.

Per [XORORLEADING] it's unclear to me if the xor-value itself should be stored and used or if the number of leading and meaningful bits (or trailing bits) should be stored and used. This is an implementation of the former and will lead to a shrinking window size as more leading or trailing zeroes are available. See DoubleStreamLeadTrail for an implementation of the latter.

Methods

impl DoubleStream
[src]