Skip to content

Add ItemHash for updating sketches with a precomputed hash - #820

Open
davecromberge wants to merge 1 commit into
mainfrom
item-hash
Open

davecromberge wants to merge 1 commit into
mainfrom
item-hash

Conversation

@davecromberge

Copy link
Copy Markdown
Member

Adds ItemHash so an item can be hashed once and the result passed to several sketches, as discussed in #807.

ItemHash holds the canonicalized 128-bit MurmurHash3 of an item and the
seed it was computed with. Theta, Tuple, ArrayOfDoubles, CPC and HLL route
their update(item) methods through it and gain update(ItemHash), which
rejects hashes computed with a different seed. Serialized sketches are
unchanged.
@davecromberge
davecromberge requested a review from leerho November 27, 2026 11:23

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant