axiomhq / axiomhq/hyperloglog

document requirements for InsertHash

Closed
#18 2 comments 0 reactions 1 assignee Claimed by @seiflotfy View on GitHub
help wanted question
Dominant language
Go
Stars
1.1k
Forks
85
Avg merge
7m
Merged PRs (30d)
1

Description

It would be good to provide some documentation about what properties are expected of the input hash for `InsertHash`. For example, a reasonable question is: if my data is a set of 64-bit ints, can I use them directly as the "hash"? I ran some experiments with that and got bad results. I also got bad results when I used a simplistic hash function (xor and multiply by large prime). Does it require good avalanche characteristics?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.