[][src]Crate gibbon

Re-exports

pub use stream::*;
pub use timestamp_stream::*;
pub use double_stream::*;
pub use double_stream_lead_trail::*;
pub use time_and_value_stream::*;

Modules

double_stream

A double stream compresses and decompresses f64 numbers by looking at the XOR between consecutive values.

double_stream_lead_trail

This module provides a compressor for f64s by looking at the XOR between consecutive values.

stream
time_and_value_stream

This is a compound stream consisting of a timestamp followed by a double. This is how Gorilla compresses streams.

timestamp_stream

A timestamp stream contains integers and compresses well when they occur at regular intervals. They are also tuned to work well for seconds. While for example milliseconds would also work, it would compress poorly if not at an exact interval.

vec_stream

This module provides a writer and writer for bits into a binary vector that will expand as needed.