Use a typed RegExp cache key instead of serializing the UTF-16 pattern and flags into a String. This avoids another StringBuilder path for data that is already naturally represented as UTF-16 plus flag bits. Also make legacy unescape operate on UTF-16 code units and build its result with Utf16StringBuilder. This preserves direct non-ASCII input and %uXXXX escapes, including lone surrogate code units, without routing the result through UTF-8 storage. |
||
|---|---|---|
| .. | ||
| AST | ||
| Bytecode | ||
| Runtime | ||
| CMakeLists.txt | ||
| test-bytecode-cache.cpp | ||
| test-js-ast.py | ||
| test-js-bytecode.py | ||
| test-js.cpp | ||
| test-primitive-string.cpp | ||
| test-value-js.cpp | ||