You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2019/12/12 07:51:29 UTC
[incubator-datasketches-java] 01/01: update hll documentation
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch hll_doc_update
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git
commit 01d3841dc9257d19b19ba0f5049fe903f9730ac8
Author: Jon Malkin <jm...@users.noreply.github.com>
AuthorDate: Wed Dec 11 23:51:22 2019 -0800
update hll documentation
Notes that CPC has better accuracy-per-byte than HLL, while acknowledging that HLL is still a reasonable thing to use.
---
src/main/java/org/apache/datasketches/hll/HllSketch.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/datasketches/hll/HllSketch.java b/src/main/java/org/apache/datasketches/hll/HllSketch.java
index 917a646..bff6985 100644
--- a/src/main/java/org/apache/datasketches/hll/HllSketch.java
+++ b/src/main/java/org/apache/datasketches/hll/HllSketch.java
@@ -34,9 +34,10 @@ import org.apache.datasketches.memory.WritableMemory;
/**
* This is a high performance implementation of Phillipe Flajolet’s HLL sketch but with
* significantly improved error behavior. If the ONLY use case for sketching is counting
- * uniques and merging, the HLL sketch is the highest performing in terms of accuracy for
- * storage space consumed. For large enough counts, this HLL version (with HLL_4) can be 2 to
- * 16 times smaller than the Theta sketch family for the same accuracy.
+ * uniques and merging, the HLL sketch the HLL sketch is a reasonable choice, although the highest
+ * performing in terms of accuracy for storage space consumed is CPC (Compressed Probabilistic Counting).
+ * For large enough counts, this HLL version (with HLL_4) can be 2 to 16 times smaller than the
+ * Theta sketch family for the same accuracy.
*
* <p>This implementation offers three different types of HLL sketch, each with different
* trade-offs with accuracy, space and performance. These types are specified with the
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org