You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with the usual "first match" strategy we can optimize the whole match at compile time and produce a simple DFA for it which only needs the minimal number of comparisons for determining a match (and no backtracking).
The text was updated successfully, but these errors were encountered:
Fixessirthias#136
By checking keys from longest to shortest, we ensure that we always
select the longest matching key.
This fix requires sorting the keys each time the rule is invoked. If
sirthias#115 gets implemented, this could be improved to make use of it instead.
Rather than matching
with the usual "first match" strategy we can optimize the whole match at compile time and produce a simple DFA for it which only needs the minimal number of comparisons for determining a match (and no backtracking).
The text was updated successfully, but these errors were encountered: