oxc/crates
overlookmotel 7469e018b0 perf(semantic): remove branch from Nodes::add_node (#4361)
`AstNodes::add_node` had a branch specifically to handle `Program`. Remove that by inlining the special logic for `Program` into `visit_program`.

Probably won't have much effect on benchmarks as the branch is easy to predict, but still removes a few instructions and makes `add_node` easier for compiler to inline.
2024-07-19 11:34:03 +00:00
..
oxc Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_allocator Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_ast refactor(ast): scope is created only if CatchClause has param (#4346) 2024-07-18 19:14:34 +00:00
oxc_ast_macros Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_cfg Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_codegen fix(codegen,mangler): do not print shorthand for ObjectProperty (#4350) 2024-07-18 16:26:33 +00:00
oxc_diagnostics refactor(parser): use error codes for ts diagnostics (#4335) 2024-07-18 16:09:25 +00:00
oxc_index Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_isolated_declarations Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_js_regex
oxc_language_server feat(linter): support suggestions and dangerous fixes (#4223) 2024-07-18 02:20:30 +00:00
oxc_linter feat(linter): support suggestions and dangerous fixes (#4223) 2024-07-18 02:20:30 +00:00
oxc_macros
oxc_mangler Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_minifier Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_module_lexer Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_parser refactor(parser): use error codes for ts diagnostics (#4335) 2024-07-18 16:09:25 +00:00
oxc_prettier chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
oxc_semantic perf(semantic): remove branch from Nodes::add_node (#4361) 2024-07-19 11:34:03 +00:00
oxc_sourcemap fix(sourcemap): avoid negative line if token_chunks has same prev_dst_line (#4348) 2024-07-19 18:14:35 +08:00
oxc_span Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_syntax fix(transformer/typescript): unexpectedly removed class binding from ExportNamedDeclaration (#4351) 2024-07-18 16:44:38 +00:00
oxc_transformer Release crates v0.21.0 (#4344) 2024-07-18 14:39:07 +08:00
oxc_traverse perf(traverse): speed up finding UID binding name (#4356) 2024-07-19 10:24:01 +00:00
oxc_wasm fix(wasm): codegen is broken due to preserve_parens(false) 2024-07-11 01:33:10 +08:00