oxc/crates
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
..
oxc Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_allocator Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_ast feat(linter): add eslint/no-unused-vars ( attempt 3.2) (#4445) 2024-07-31 03:22:16 +00:00
oxc_ast_macros Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_cfg Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_codegen perf(linter): remove allocations for string comparisons (#4570) 2024-07-31 00:24:12 +00:00
oxc_diagnostics Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_index Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_isolated_declarations fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_js_regex
oxc_language_server refactor(linter): use diagnostic codes in lint rules (#4349) 2024-07-20 03:35:00 +00:00
oxc_linter feat(linter): add eslint/no-unused-vars ( attempt 3.2) (#4445) 2024-07-31 03:22:16 +00:00
oxc_macros feat(linter): add auto-fix metadata to RuleMeta (#4557) 2024-07-31 10:51:51 +08:00
oxc_mangler Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_minifier fix(codegen): fixes for esbuild test cases (#4503) 2024-07-28 08:57:15 +00:00
oxc_module_lexer Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_parser perf(parser): optimize Lexer::hex_digit (#4572) 2024-07-31 03:32:52 +00:00
oxc_prettier chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
oxc_semantic feat(linter): add eslint/no-unused-vars ( attempt 3.2) (#4445) 2024-07-31 03:22:16 +00:00
oxc_sourcemap refactor(sourcemap): align Base64 chars lookup table to cache line (#4535) 2024-07-30 04:28:10 +00:00
oxc_span Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_syntax feat(linter): add eslint/no-unused-vars ( attempt 3.2) (#4445) 2024-07-31 03:22:16 +00:00
oxc_transformer fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_traverse fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_wasm refactor(syntax): give ScopeId a niche (#4468) 2024-07-26 00:14:50 +00:00