mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
The RegExpLiteral AST node already has the parsed regex::Parser::Result so let's plumb that over to the bytecode executable instead of reparsing the regex every time NewRegExp is executed. ~12% speed-up on language/literals/regexp/S7.8.5_A2.1_T2.js in test262.
8.1 KiB
8.1 KiB