oxc/crates/oxc_parser
overlookmotel 24ded3cb15
perf(parser): lex JSX strings with memchr (#2528)
Simplify lexing JSX string attributes. As the search is purely for 1
byte value (the closing quote), and so doesn't require a byte table, use
`memchr`.

This change doesn't really register on benchmarks, but it's one step
closer to removing `AutoCow`, and transitioning all the searches in the
lexer to byte-by-byte.
2024-02-28 14:39:23 +08:00
..
examples chore(parser): print both AST and errors in examples/parser 2024-02-26 23:20:46 +08:00
src perf(parser): lex JSX strings with memchr (#2528) 2024-02-28 14:39:23 +08:00
Cargo.toml Publish crates v0.8.0 2024-02-26 19:01:51 +08:00