summaryrefslogtreecommitdiff
path: root/test/benchmarks/src/scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-11 15:15:55 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-11 15:15:55 +0000
commita2a14fa80346083f6b81dade791b4fdd5d529237 (patch)
treee2bd184ac2d6064f3a30038faf7fb0e077c1fc5e /test/benchmarks/src/scala
parent3c85de708d2acd58acaa96429cd78ec97d6a075e (diff)
downloadscala-a2a14fa80346083f6b81dade791b4fdd5d529237.tar.gz
scala-a2a14fa80346083f6b81dade791b4fdd5d529237.tar.bz2
scala-a2a14fa80346083f6b81dade791b4fdd5d529237.zip
Further improved combine for hash tries, cuttin...
Further improved combine for hash tries, cutting of another 30ms (160 downto 130). Review by rompf.
Diffstat (limited to 'test/benchmarks/src/scala')
-rw-r--r--test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala4
1 files changed, 3 insertions, 1 deletions
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