Skip to content

Commit 106f2de

Browse files
committed
making it tighter
1 parent 4314b02 commit 106f2de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/sketch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ class Sketch {
304304
inline size_t get_buckets() const { return num_buckets; }
305305
inline size_t get_num_samples() const { return num_samples; }
306306

307-
static size_t calc_bkt_per_col(size_t n) { return ceil(log2(n)) + 4;}
307+
// static size_t calc_bkt_per_col(size_t n) { return ceil(log2(n)) + 4;}
308+
static size_t calc_bkt_per_col(size_t n) { return 1;}
308309

309310
#ifdef L0_SAMPLING
310311
static constexpr size_t default_cols_per_sample = 7;

0 commit comments

Comments
 (0)