Skip to content

Commit

Permalink
making it tighter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gillgamesh committed Dec 18, 2024
1 parent 4314b02 commit 106f2de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sketch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 106f2de

Please sign in to comment.