nx_bench_hll_vs_cpc.nx
buildroot/runtime/nx_bench_hll_vs_cpc.nx
about
bench_hll_vs_cpc.nx -- head-to-head workload runner.
Streams N distinct synthetic keys through OUR HLL_8 and OUR CPC at
matched lg_k, then feeds estimates + memory into the comparator
for a sealed verdict.
This is sister-comparison (our vs our), validating Lang 2017's HIP
claim that CPC beats HLL on accuracy at same memory. The harness
extends naturally: swap CPC for a Python-datasketches stub to compare
against the incumbent.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_sketch_hll.nxnx_sketch_cpc.nxnx_sketch_comparator.nxnx_sketch_types.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 23 | const K_MAGIC_8192: i64 = 8192 |
| 24 | const K_MAGIC_10000: i64 = 10000 |
functions
| 26 | func main() -> i64 |