Termsslug: cpc-sketch

CPC Sketch

CPC 草图

Compressed probabilistic counting sketch by Kevin J. Lang with better space efficiency than HyperLogLog.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Open Source
58 pts
Reverse-Engineering Lost OCaml Code in Apache DataSketches

While implementing approx_count_distinct in ScopeDB, the author moved from Cloudflare's cardinality-estimator to Apache DataSketches and helped build the official Rust port datasketches-rust. The core of the post reverse-engineers Kevin J. Lang's lost OCaml code inside DataSketches, tracing the historical origins and implementation details of the CPC sketch design.