Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-15 | LibRegex: Make the optimizer understand references and capture groups | Ali Mohammad Pur | |
Otherwise the fork in patterns like `(1+)\1` would be (incorrectly) optimized away. | |||
2021-09-14 | LibRegex: Avoid excessive Vector copy when compiling regexps | Ali Mohammad Pur | |
Previously we would've copied the bytecode instead of moving the chunks around, use the fancy new DisjointChunks<T> abstraction to make that happen automagically. This decreases vector copies and uses of memmove() by nearly 10x :^) | |||
2021-09-13 | LibRegex: Add a basic optimization pass | Ali Mohammad Pur | |
This currently tries to convert forking loops to atomic groups, and unify the left side of alternations. |