summaryrefslogtreecommitdiff
path: root/test/files/run/coder/Dictionary.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-12-21 17:41:31 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-12-21 17:41:31 +0000
commit003fc687839528bf99b44a415a038eb13ef8eae5 (patch)
tree597e57e8882449865bcde4c214188bb87c4709df /test/files/run/coder/Dictionary.scala
parentcc1f960036c0f60caca6c8f862701dd37bac2f50 (diff)
downloadscala-003fc687839528bf99b44a415a038eb13ef8eae5.tar.gz
scala-003fc687839528bf99b44a415a038eb13ef8eae5.tar.bz2
scala-003fc687839528bf99b44a415a038eb13ef8eae5.zip
Bencharking a larger program with parallel coll...
Bencharking a larger program with parallel collections. Fixed a couple of bugs in parallel collections. No review.
Diffstat (limited to 'test/files/run/coder/Dictionary.scala')
-rw-r--r--test/files/run/coder/Dictionary.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/coder/Dictionary.scala b/test/files/run/coder/Dictionary.scala
new file mode 100644
index 0000000000..7b354b9aa8
--- /dev/null
+++ b/test/files/run/coder/Dictionary.scala
@@ -0,0 +1,10 @@
+
+
+
+
+
+object Dictionary {
+ val wordlist = wordlines.split(System.getProperty("line.separator")).filter(_.trim != "").toList
+ val wordarray = wordlist.toArray
+ def wordlines = scala.io.Source.fromFile("test/files/run/coder/dict.txt").mkString
+}