From 30d1a5db75ed86d7e7173a5831ddabafe296d856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Thu, 24 Apr 2014 10:48:35 -0700 Subject: [PATCH] HLL: avoid direct buffers + fix swap target buffer --- .../hyperloglog/HyperLogLogCollector.java | 25 +++++++++---------- .../HyperUniquesBufferAggregator.java | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/processing/src/main/java/io/druid/query/aggregation/hyperloglog/HyperLogLogCollector.java b/processing/src/main/java/io/druid/query/aggregation/hyperloglog/HyperLogLogCollector.java index bd5cfd84058..dbd766c391a 100644 --- a/processing/src/main/java/io/druid/query/aggregation/hyperloglog/HyperLogLogCollector.java +++ b/processing/src/main/java/io/druid/query/aggregation/hyperloglog/HyperLogLogCollector.java @@ -326,27 +326,26 @@ public abstract class HyperLogLogCollector implements Comparable