equal
deleted
inserted
replaced
25 for (int runs = 0; runs < 2; runs++) { |
25 for (int runs = 0; runs < 2; runs++) { |
26 |
26 |
27 Pattern pattern = Pattern.compile("(a*)*b"); |
27 Pattern pattern = Pattern.compile("(a*)*b"); |
28 |
28 |
29 // Run from 0 to 50000 characters |
29 // Run from 0 to 50000 characters |
30 for (int length = 0; length < 50000; length += 5000) { |
30 for (int length = 0; length < 65000; length += 5000) { |
31 |
31 |
32 // Build input of specified length |
32 // Build input of specified length |
33 String input = ""; |
33 String input = ""; |
34 for (int i = 0; i < length; i++) { input += "a"; } |
34 for (int i = 0; i < length; i++) { input += "a"; } |
35 |
35 |