Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CountMinSketch reset method #53

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Fix CountMinSketch reset method #53

merged 1 commit into from
Oct 20, 2024

Conversation

Yiling-J
Copy link
Owner

The reset method in CountMinSketch is incorrect because it halves the entire uint64 value instead of properly halving each 4-bit counter individually. This is clearly a flaw in the implementation though the hit ratio benchmark results appear similar in most cases except the OLTP one.

@Yiling-J Yiling-J merged commit 14e5761 into main Oct 20, 2024
23 of 24 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.

1 participant