Registry / utility / sketches-ddsketch

sketches-ddsketch

JSON →
library0.4.0rscratesunverified

A direct port of the Golang DDSketch implementation for quantile sketches.

# Cargo.toml [dependencies] sketches-ddsketch = "0.4.0"
INSTALL
IMPORT
SIG · SKETCHES-DDSKETCH
S
sketches-ddsketch
utilityrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DDSketch
use sketches_ddsketch::DDSketch;

Create a DDSketch, add a value, and query a quantile.

use sketches_ddsketch::DDSketch; fn main() { let mut sketch = DDSketch::new(0.01); sketch.add(42.0); println!("Quantile 0.5: {:?}", sketch.quantile(0.5)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
sketches-ddsketch — cargo add sketches-ddsketch · libregistry