Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

v2.0.0: New API, added serialization

Compare
Choose a tag to compare
@spenczar spenczar released this 06 Oct 13:54
· 14 commits to master since this release

Version 2.0.0 of tdigest changes its API. Instead of exporting an interface-typed value, it now provides a struct. This should make it easier to add features without breaking compatibility; changing the interface could have broken things for users because it would mean their own code no longer fulfilled the interface.

In addition, version 2 adds binary marshaling and unmarshaling support for tdigests. This lets users serialize their digests, ship them over the network, and aggregate them together.