Cache compiled regular expressions
Closed this issue · 0 comments
SwiftStudies commented
Where a regular expression is used to represent a terminal, at this stage those regular expressions are recompiled each time the rule is referenced in the generated Swift code.
Those regular expressions should be identified and lazily compiled, but only once, rather than being recompiled on each reference