oxc/crates/oxc_parser
overlookmotel 25679e6277 perf(parser): optimize Lexer::hex_digit (#4572)
Optimize `Lexer::hex_digit`.

Rather than checking for `A-F` and `a-f` separately, can check for them both in one go. `b'A' | 32 == b'a'` (and same for all other alphabetic letters) so matching against `b | 32` allows checking for all matching letters, lower or upper case, in one operation.
2024-07-31 03:32:52 +00:00
..
examples refactor(ast): pass final ScopeFlags into visit_function (#4283) 2024-07-16 07:22:07 +00:00
src perf(parser): optimize Lexer::hex_digit (#4572) 2024-07-31 03:32:52 +00:00
Cargo.toml Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
CHANGELOG.md Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00