RosettaCodeData/Task/Time-a-function/Scala/time-a-function-3.scala

4 lines
72 B
Scala
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
def count(i:Int) = for(j <- 1 to i){}
println(time (count(10000000)))