Skip to content

Conversation

@msanterre
Copy link

@msanterre msanterre commented Apr 9, 2018

What this does

  • Adds a load function so we can make a new hyperloglog directly from the bytes instead of needing the gob format.

Why is this needed?

I needed to deserialize HLLs that were serialized from another language.

#14 also tried to address this issue, but lacked tests and seemed to be abandoned.

Instead of setting a state, this returns a new HLL, which I think is cleaner.

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