[][src]Trait streaming_algorithms::IntersectPlusUnionIsPlus

pub trait IntersectPlusUnionIsPlus {
    const VAL: bool;
}

An optimisation for cases like putting a HyperLogLog inside a Count–min sketch, where intersecting, adding a val, and then unioning that with counters is the same as simple adding the val to the counters.

Associated Constants

const VAL: bool

Apply optimisation or not

Loading content...

Implementors

impl<T: ?Sized> IntersectPlusUnionIsPlus for T[src]

impl<V> IntersectPlusUnionIsPlus for HyperLogLogMagnitude<V>[src]

impl<V: ?Sized> IntersectPlusUnionIsPlus for HyperLogLog<V>[src]

Loading content...