Files
gf-core/src/compiler/GF
hallgren 0feb386691 Faster regular expression pattern matching in the grammar compiler.
The sequence operator (x+y) was implemented by splitting the string to be
matched at all positions and trying to match the parts against the two
subpatterns. To reduce the number of splits, we now estimate the minimum and
maximum length of the string that the subpatterns could match. For common
cases, where one of the subpatterns is a string of known length, like
in (x+"y") or (x + ("a"|"o"|"u"|"e")+"y"), only one split will be tried.
2013-02-27 20:59:43 +00:00
..
2012-11-07 15:31:45 +00:00
2012-08-29 21:45:10 +00:00
2012-11-05 16:44:31 +00:00
2010-11-17 08:30:02 +00:00