blob: c38b8fbde7c71560339fc83038c328f90fe27790 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Test extends dotty.runtime.LegacyApp {
println((1 to 100000).toList.sortWith(_<_).length)
println(List(1, 5, 10, 3, 2).toList.sortWith(_<_))
println(List(1, 5, 10, 3, 2).toList.sortWith(_>_))
println(List(10).toList.sortWith(_<_))
println(List(10,9).toList.sortWith(_<_))
println(List[Int]().toList.sortWith(_<_))
}
|