|
|
|
|
|
by UK-AL
4139 days ago
|
|
A regular expression implemented as a DFA would literally be looping over the string, and a state transition table. I don't see how performance could be bad. It is highly dependent on the regular expression engine you use, most don't use automata because of extra features. |
|
At least, that's the theory. In practice, while the benefit of syntactic usability is available today, the Perl 6 rules engine is still very slow and it'll likely take years to optimize the heck out of this approach and really harvest the performance benefit.