You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a bit of help following TestHLLTC_Merge_Complex in hyperloglog_test.go:
Lines 374 and 384: why is ratio calculated against sk1?
Lines 391 and 395: I tried inserting the 500000 records into sk2 and then merge with empty sk3, like in the source. This gives me a ratio of about 1.18%. I made another version where the 500000 records were inserted into sk3, and then merge with sk2. This gets me 6.52%. Shouldn't they be the same?
I need a bit of help following TestHLLTC_Merge_Complex in
hyperloglog_test.go
:Lines 374 and 384: why is ratio calculated against sk1?
Lines 391 and 395: I tried inserting the 500000 records into sk2 and then merge with empty sk3, like in the source. This gives me a ratio of about 1.18%. I made another version where the 500000 records were inserted into sk3, and then merge with sk2. This gets me 6.52%. Shouldn't they be the same?
My code for ref:
The text was updated successfully, but these errors were encountered: