From 1033ce973e0298d3d88a94016be8e5a886f3ab46 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sun, 3 Feb 2013 15:56:54 -0500 Subject: [PATCH] TODO about memory usage --- main/src/com/google/refine/browsing/util/NumericBinIndex.java | 1 + 1 file changed, 1 insertion(+) diff --git a/main/src/com/google/refine/browsing/util/NumericBinIndex.java b/main/src/com/google/refine/browsing/util/NumericBinIndex.java index 656e3b113..2ed4e1b18 100644 --- a/main/src/com/google/refine/browsing/util/NumericBinIndex.java +++ b/main/src/com/google/refine/browsing/util/NumericBinIndex.java @@ -77,6 +77,7 @@ abstract public class NumericBinIndex { _min = Double.POSITIVE_INFINITY; _max = Double.NEGATIVE_INFINITY; + // TODO: An array of doubles would be more memmory efficient - double[] allValues List allValues = new ArrayList(); iterate(project, rowEvaluable, allValues);