Algebird v0.12.3 Release Notes
Release Date: 2016-12-02 // over 7 years ago-
๐ The main new feature of this release is a faster (benchmarked!) implementation of tuple and product semigroup sumOptions. This means if you are aggregating on scalding or spark, you should see a significant (~ 2x faster).
There is a new
Set
membership monoid calledSetDiff
. It can model adding and removing from sets (which can be useful for applications in summingbird).๐ We have an exponential histogram Fold, which is an approximate data-structure that can tell you approximate counts over sliding windows (see #568). A future work will add a monoid for this type, however when possible, using the Fold is better since it has better error properties.
๐ Lastly, there are many new docs.
๐ Huge thanks to @sritchie who was the main contributor to this release.
๐ changelog:
- โ Add
SetDiff
data structure toalgebird-core
: #555 - โ Add
Ring[BigDecimal]
, modeled afterRing[BigInt]
: #553 - "Exponential Histogram" sliding window counter implementation added to
algebird-core
asExpHist
: #568 - ๐ improve HLLSeries performance: #575
- โ Add a microsite at https://twitter.github.io/algebird via the
sbt-microsites
plugin, along with docs for all typeclasses and data structures: #576 - โ Adds lots of scalacheck
Arbitrary
andGen
instances toalgebird-test
, undercom.twitter.algebird.scalacheck.{ gen, arbitrary }
: #579 - โ Add
Monoid[Max[Vector[T]]]
,Monoid[Max[Stream[T]]]
: #579 - โ Add
FirstAggregator
andLastAggregator
, and docs and API / perf improvements forFirst
,Last
,Min
,Max
: #579 - โ Add
LawsEquiv
versions of all laws: #584 - ๐ Deprecates broken group/ring for
Future
/Try
: #584 - โ Add
metricsLaws[T]
toBaseProperties
inalgebird-test
: #584 - Modify generated
Tuple2Monoid
, etc to extendTupleNSemigroup
, giving subclasses access to efficientsumOption
: #585 - โก๏ธ optimize
Generated{Abstract,Product}Algebra.sumOption
with benchmarking #591 - โ Add an efficient
sumOption
,+
,-
, methods and docs toAveragedValue
: #589
- โ Add