diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-06-11 15:15:55 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-06-11 15:15:55 +0000 |
commit | a2a14fa80346083f6b81dade791b4fdd5d529237 (patch) | |
tree | e2bd184ac2d6064f3a30038faf7fb0e077c1fc5e /test | |
parent | 3c85de708d2acd58acaa96429cd78ec97d6a075e (diff) | |
download | scala-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')
-rw-r--r-- | test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Combine.scala | 4 |
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 |