b2histogram
A fast and efficient 64-bit integer histogram with power-of-2 spaced buckets.
- Fixed memory footprint (520 bytes) with no dynamic allocations
- Constant time record and retrieve operations that compile down to a few instructions
no_stdsupport- Work in progress: Compact binary serialization
Usage
Add this to your Cargo.toml:
[]
= "1.0"
and this to your crate root:
extern crate b2histogram;
Quick Example
extern crate b2histogram;
use Base2Histogram;
See the documentation for more.