Status: Unstable
Warning: This API is kept for backward compatibility. It does not follow the full structured API parity used by Ready sketches.
Heavy/light split frequency estimator with a heavy bucket plus Count-Min backing sketch.
Elastic<H = DefaultXxHasher>HeavyBucket
fn new() -> Self
fn init_with_length(l: i32) -> Selffn insert(&mut self, id: String)fn query(&mut self, id: String) -> i32No public merge API.
Derives serde; no dedicated byte API helpers.
use asap_sketchlib::Elastic;
let mut sk = Elastic::init_with_length(8);
sk.insert("flow".to_string());
let _ = sk.query("flow".to_string());- String-centric API (
Stringin insert/query). - Lifecycle and parity differ from structured sketches.
Unstable; migration work is tracked in features.md.