From a2a14fa80346083f6b81dade791b4fdd5d529237 Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Fri, 11 Jun 2010 15:15:55 +0000 Subject: Further improved combine for hash tries, cuttin... Further improved combine for hash tries, cutting of another 30ms (160 downto 130). Review by rompf. --- .../src/scala/collection/parallel/benchmarks/hashtries/Combine.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/benchmarks') diff --git a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala index 8c8d17e745..f04688c7f9 100644 --- a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala +++ b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala @@ -20,7 +20,9 @@ class Combine(val size: Int, val parallelism: Int, val runWhat: String) extends def runpar = throw new UnsupportedOperationException def runseq = runhashtrie - def runhashtrie = hashtrie combine thattrie + def runhashtrie = { + hashtrie combine thattrie + } def runappendtrie = hashtrie ++ thattrie def runhashmap = hashmap ++ thatmap def companion = Combine -- cgit v1.2.3