stream-lib
stream-lib copied to clipboard
Change type of TDigest.Group.id from int to long
The assumption is that the id is unique. If the id value overflows, it can lead to NullPointerExceptions. Changing the type to long doesn't make overflows impossible, but highly unlikely.
This fixes issues like #100
Thanks, switching to MergingDigest indeed shows some nice performance improvements.