Closed jonsnowseven closed 1 year ago
@jonsnowseven since my PR has been merged I believe this issue is now resolved. Please confirm :)
from bounter import CountMinSketch # version 1.2.0
from bounter.count_min_sketch import CellSize
cms = CountMinSketch(depth=19, width=2 ** 30, cell_size = CellSize.BITS_64)
cms.increment("some_value", 4_294_967_295)
cms.increment("some_value", 1_000)
print("{:,}".format(cms["some_value"])) # prints 4,294,968,295
It worked!
Thanks @jponf 🤜🤛
Hello all.
https://github.com/RaRe-Technologies/bounter/blob/21aeda1b88402bacb44ce92d05c08b632a1edb21/cbounter/cms_conservative.c#L10
Is it possible to increase this type of make it configurable through Python? Otherwise, the following snippet won't work: