Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

CountMinSketch with Int type in the internal table #161

Open
ajtkulov opened this issue Oct 17, 2019 · 0 comments
Open

CountMinSketch with Int type in the internal table #161

ajtkulov opened this issue Oct 17, 2019 · 0 comments

Comments

@ajtkulov
Copy link

The current implementation has Long type for the internal table.
For a lot of real use cases, we need only Int (in general it would be great to have a generic solution, like long/int/short(?)).

For instance, I have 50M objects. It's impossible to have a value > 50M in the internal table. So, Int value is enough, in this case, Long type is a waste (in 2 times more memory consumption in comparison with Int type).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant