mirror of
https://github.com/RGBCube/serenity
synced 2026-01-21 17:40:59 +00:00
LibRegex already implements this loop in a more performant way, so all LibJS has to do here is to return things in the right shape, and not loop over the input string. Previously this was a quadratic operation on string length, which lead to crazy execution times on failing regexps - now it's nice and fast :^) Note that a Regex test has to be updated to remove the stateful flag as it repeats matching on multiple strings. |
||
|---|---|---|
| .. | ||
| Benchmark.cpp | ||
| CMakeLists.txt | ||
| Regex.cpp | ||
| RegexLibC.cpp | ||