You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2019/08/22 17:27:55 UTC

[incubator-datasketches-java] 01/01: performance improvement

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

alsay pushed a commit to branch quantiles_union_wrap_input
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git

commit 05d08f5fe06e58790aa7da2b6a523a07aee2017b
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Aug 22 10:27:39 2019 -0700

    performance improvement
---
 src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java b/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java
index e1e5836..f453cb3 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java
+++ b/src/main/java/com/yahoo/sketches/quantiles/DoublesUnionImpl.java
@@ -120,7 +120,7 @@ final class DoublesUnionImpl extends DoublesUnionImplR {
 
   @Override
   public void update(final Memory mem) {
-    gadget_ = updateLogic(maxK_, gadget_, HeapUpdateDoublesSketch.heapifyInstance(mem));
+    gadget_ = updateLogic(maxK_, gadget_, DoublesSketch.wrap(mem));
   }
 
   @Override


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