CardinalityEstimation 基数估算库

CardinalityEstimation 通过一十分迅捷的规则估算出组里元素的数量,并储存下来。

示例代码:

ICardinalityEstimator<string> estimator = new CardinalityEstimator();

estimator.Add(\"Alice\");
estimator.Add(\"Bob\");
estimator.Add(\"Alice\");
estimator.Add(\"George Michael\");

ulong numberOfuniqueElements = estimator.Count(); // will be 3

© 版权声明
THE END
喜欢就支持一下吧
点赞142 分享
With the wonder of your love, the sun above always shines.
拥有你美丽的爱情,太阳就永远明媚