From 106f2debe91acbc973cde4d17292b24dd467455a Mon Sep 17 00:00:00 2001 From: Gilvir Gill Date: Wed, 18 Dec 2024 06:47:40 -0500 Subject: [PATCH] making it tighter --- include/sketch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sketch.h b/include/sketch.h index a225ebd..39f828f 100644 --- a/include/sketch.h +++ b/include/sketch.h @@ -304,7 +304,8 @@ class Sketch { inline size_t get_buckets() const { return num_buckets; } inline size_t get_num_samples() const { return num_samples; } - static size_t calc_bkt_per_col(size_t n) { return ceil(log2(n)) + 4;} + // static size_t calc_bkt_per_col(size_t n) { return ceil(log2(n)) + 4;} + static size_t calc_bkt_per_col(size_t n) { return 1;} #ifdef L0_SAMPLING static constexpr size_t default_cols_per_sample = 7;