Skip to content

Commit 68380b3

Browse files
committed
Tweaking size factor.
1 parent 846e10f commit 68380b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dependencies/xor_singleheader/include/binaryfusefilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ double binary_fuse8_max(double a, double b) {
132132
static inline double binary_fuse8_calculate_size_factor(uint32_t arity,
133133
uint32_t size) {
134134
if (arity == 3) {
135-
return binary_fuse8_max(1.125, 0.4 + 9.3 / log((double)size));
135+
return binary_fuse8_max(1.125, 0.125 + log((double)1000000) / log((double)size));
136136
} else if (arity == 4) {
137137
return binary_fuse8_max(1.075, 0.77 + 4.06 / log((double)size));
138138
} else {

0 commit comments

Comments
 (0)