diff -r 55be90b2a642 -r c08290ee4f1f progs/re1.scala --- a/progs/re1.scala Sat Oct 01 23:34:37 2016 +0100 +++ b/progs/re1.scala Sun Oct 02 14:07:42 2016 +0100 @@ -68,6 +68,10 @@ (end - start)/(i * 1.0e9) } +for (i <- 1 to 20) { + println(i + ": " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i)))) +} + for (i <- 1 to 20) { println(i + ": " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i))))