diff --git a/src/main/java/dev/morling/onebrc/CalculateAverage.java b/src/main/java/dev/morling/onebrc/CalculateAverage.java index 7672d7508..213f302d8 100644 --- a/src/main/java/dev/morling/onebrc/CalculateAverage.java +++ b/src/main/java/dev/morling/onebrc/CalculateAverage.java @@ -31,7 +31,6 @@ public class CalculateAverage { public static void main(String[] args) throws IOException { Map measurements = Files.lines(Paths.get(FILE)) - .limit(10_000_000) .map(l -> l.split(";")) .collect(groupingBy(m -> m[0], averagingDouble(m -> Double.parseDouble(m[1]))));