RosettaCodeData/Task/Time-a-function/Scala/time-a-function-3.scala
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

3 lines
72 B
Scala

def count(i:Int) = for(j <- 1 to i){}
println(time (count(10000000)))