Version 3.1.0 of the streaming percentiles library has been released.
The streaming percentiles library is a cross-platform, multi-language (C++ and JavaScript) implementation of a number of online (single-pass) percentile algorithms. This version of the streaming percentiles library adds support for copy construction, assignment, move construction, and move assignment on all analytics classes.
This change allows you to put streaming analytics classes into STL containers, such as:
|
|
It also allows you to efficiently move the state of an algorithm from one object to another without copying, as in:
|
|
To download the latest version of the streaming percentiles library (including documentation), visit https://github.com/sengelha/streaming-percentiles, or get it from NPM at https://www.npmjs.com/package/streaming-percentiles.