progs/re3.scala
changeset 638 0367aa7c764b
parent 631 f618dd4de24a
child 647 180600c04da2
--- a/progs/re3.scala	Thu Sep 26 14:19:23 2019 +0100
+++ b/progs/re3.scala	Mon Sep 30 12:27:15 2019 +0100
@@ -88,13 +88,13 @@
 
 
 //test: (a?{n}) (a{n})
-for (i <- 0 to 7000 by 1000) {
-  println(f"$i: ${time_needed(2, matcher(EVIL1(i), "a" * i))}%.5f")
+for (i <- 0 to 8000 by 1000) {
+  println(f"$i: ${time_needed(3, matcher(EVIL1(i), "a" * i))}%.5f")
 }
 
 //test: (a*)* b
 for (i <- 0 to 6000000 by 500000) {
-  println(f"$i: ${time_needed(2, matcher(EVIL2, "a" * i))}%.5f")
+  println(f"$i: ${time_needed(3, matcher(EVIL2, "a" * i))}%.5f")
 }