summaryrefslogtreecommitdiff
path: root/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-09 07:56:13 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-09 07:56:13 +0000
commit7aae8c7cbcd272f56629ada19623316399ca397f (patch)
treee95467de73a6af7b46484440769134d32346a05a /test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala
parente045a3ff33793e1d5bb61797f1afdcc3aba9e4c7 (diff)
downloadscala-7aae8c7cbcd272f56629ada19623316399ca397f.tar.gz
scala-7aae8c7cbcd272f56629ada19623316399ca397f.tar.bz2
scala-7aae8c7cbcd272f56629ada19623316399ca397f.zip
Added `combine` and `split` to immutable.HashMap.
Under test/benchmarks there is a `bench` script to run benchmarks - it can be invoked after running building the library. Review by rompf.
Diffstat (limited to 'test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala')
-rw-r--r--test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala
index 6002b5d8b8..f53ea02e36 100644
--- a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala
+++ b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtries/Foreach.scala
@@ -14,7 +14,7 @@ import collection.mutable.HashMap
class Foreach(val size: Int, val parallelism: Int, val runWhat: String) extends Bench with IntInit {
def runpar = throw new UnsupportedOperationException
- def runseq = throw new UnsupportedOperationException
+ def runseq = runhashtrie
def runhashmap = hashmap.foreach(n => ())
def runhashtrie = hashtrie.foreach(n => ())
def companion = Foreach