Sorting algorithms/Sleep sort: Difference between revisions

m
→‎{{header|Scala}}: Scala would've printed newlines instead of spaces
m (→‎{{header|Scala}}: Scala would've printed newlines instead of spaces)
Line 1,409:
override def run() {
Thread.sleep(i * 20) // just `i` is unpredictable with small numbers
printlnprint(s"$i ")
}
}.start())