Skip to content

Add static Count-Min sketch deserializer - #184

Merged
proost merged 1 commit into
apache:mainfrom
jaideeppyne:feat/count-min-from-slice
Sep 21, 2026
Merged

proost merged 1 commit into
apache:mainfrom
jaideeppyne:feat/count-min-from-slice

Conversation

@jaideeppyne

Copy link
Copy Markdown
Contributor

Fixes #164.

Adds NewCountMinSketchFromSlice so callers can reconstruct a Count-Min sketch without first creating an unrelated receiver. The existing Deserialize method remains as a deprecated compatibility wrapper, and the serialization tests and public example now use the constructor.

Tests: make test, make lint-check

@proost proost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding this!

@proost
proost merged commit bb4615c into apache:main Sep 21, 2026
4 of 5 checks passed
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.

[FEATURE] Static factory method from binary format for CM sketch

2 participants