summaryrefslogtreecommitdiff
path: root/test/files/run/sort.scala
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-06-19 17:57:19 +0000
committerLex Spoon <lex@lexspoon.org>2007-06-19 17:57:19 +0000
commit09dd9eb7efc36a7610f43b3ad31c82aa40e56544 (patch)
treef6d4d1f9478df67f8fa75adeb02e9e023f4d7b1f /test/files/run/sort.scala
parent627257dfbb281b8e32a9aafd006703ff4fa3854c (diff)
downloadscala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.tar.gz
scala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.tar.bz2
scala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.zip
Decrease the size of array used for the stress ...
Decrease the size of array used for the stress test
Diffstat (limited to 'test/files/run/sort.scala')
-rw-r--r--test/files/run/sort.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/sort.scala b/test/files/run/sort.scala
index 7112cd8c74..899fea551e 100644
--- a/test/files/run/sort.scala
+++ b/test/files/run/sort.scala
@@ -1,5 +1,5 @@
object Test extends Application {
- println((1 to 1000000).toList.sort(_<_).length)
+ println((1 to 100000).toList.sort(_<_).length)
println(List(1, 5, 10, 3, 2).toList.sort(_<_))
println(List(1, 5, 10, 3, 2).toList.sort(_>_))
println(List(10).toList.sort(_<_))