You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/11/11 23:00:13 UTC

[incubator-datasketches-characterization] branch ZetaTesting updated: Update HllMergeSpeedProfile

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch ZetaTesting
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-characterization.git


The following commit(s) were added to refs/heads/ZetaTesting by this push:
     new d856918  Update HllMergeSpeedProfile
d856918 is described below

commit d856918be13545e983537808a94f6c9a84338e28
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Mon Nov 11 15:00:02 2019 -0800

    Update HllMergeSpeedProfile
---
 .../datasketches/characterization/hll/HllMergeSpeedProfile.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/datasketches/characterization/hll/HllMergeSpeedProfile.java b/src/main/java/org/apache/datasketches/characterization/hll/HllMergeSpeedProfile.java
index b16349c..05fbaf1 100644
--- a/src/main/java/org/apache/datasketches/characterization/hll/HllMergeSpeedProfile.java
+++ b/src/main/java/org/apache/datasketches/characterization/hll/HllMergeSpeedProfile.java
@@ -75,12 +75,12 @@ public class HllMergeSpeedProfile extends BaseMergeSpeedProfile {
     long deserTime_nS = 0;
     long mergeTime_nS = 0;
     final HllSketch source = newSketch(lgK);
-    final long vStartUnion = vIn;
+    //final long vStartUnion = vIn;
 
-    final long vStart = vIn;
+    //final long vStart = vIn;
     source.reset();
     for (int u = 0; u < U; u++) { source.update(++vIn); }
-    final long trueU = vIn - vStart;
+    //final long trueU = vIn - vStart;
     //checkEstimate(trueU, source.getEstimate(), lgK, "Source");
     HllSketch source2 = null;
     final byte[] byteArr;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org