-
Notifications
You must be signed in to change notification settings - Fork 343
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
Add query methods to CMSSummation #621
Comments
cc @non |
Am I reading this ticket right in that you just want an accessor/mutator for the private vals in CMSSummation? I'm looking for a good introductory ticket and this could be a good one. |
see:
frequency, innerProduct, totalCount. The idea is those should also be on the CMSSummation so you don't need to allocate to make queries like that in a mutable context (which is nice to avoid, but not always easy to and retain the highest performance). |
https://github.com/twitter/algebird/blob/develop/algebird-core/src/main/scala/com/twitter/algebird/CountMinSketch.scala#L150
If we had that, we could reuse CMSSummation as a mutable CMS.
The text was updated successfully, but these errors were encountered: