oxc/crates
overlookmotel 62e3f7e525 perf(transformer/arrow-functions): reduce size of inlined visitor (#8322)
Follow-on after #8024.

Move code out of `visit_expression`.

`visit_expression` is marked `#[inline]`, which is a good idea because it's a hot path and most of the time the `Expression` is not `super()` and the function does nothing.

But this means we want `visit_expression` to be as small as possible to reduce the cost of inlining it. So only retain the fast path for "Is it `super()`? No it's not, so just continue traversal." and move everything else out into a separate function.
2025-01-08 01:52:45 +00:00
..
oxc release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_allocator feat(minifier): improve StatementFusion (#8194) 2024-12-31 01:13:24 +00:00
oxc_ast refactor(ast)!: no unneccesary trailing underscores on AstBuilder method names (#8283) 2025-01-06 15:09:05 +00:00
oxc_ast_macros release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_cfg release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_codegen feat(minifier): minimize do{}while(true) -> do;while(true) (#8311) 2025-01-07 12:55:03 +00:00
oxc_data_structures release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_diagnostics release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_ecmascript feat(minifier): fold .toString() (#8308) 2025-01-07 06:33:58 +00:00
oxc_estree release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_isolated_declarations refactor(ast): simplify get_identifier_reference of TSType and TSTypeName (#8273) 2025-01-06 08:23:53 +00:00
oxc_language_server refactor(linter): refactor LintBuilder to prep for nested configs (#8034) 2025-01-05 04:08:26 +00:00
oxc_linter refactor(ast): simplify get_identifier_reference of TSType and TSTypeName (#8273) 2025-01-06 08:23:53 +00:00
oxc_macros
oxc_mangler release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_minifier feat(minifier): compress a || (a = b) to a ||= b (#8315) 2025-01-07 23:19:52 +00:00
oxc_napi release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_parser fix(lexer): Source is not Clone (#8294) 2025-01-07 06:58:26 +00:00
oxc_prettier feat(prettier): Print tagged template literal (#8307) 2025-01-07 14:25:14 +08:00
oxc_regular_expression release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_semantic chore(deps): update crate-ci/typos action to v1.29.4 (#8265) 2025-01-05 22:13:32 +00:00
oxc_span style(span): reformat code (#8296) 2025-01-06 13:57:58 +00:00
oxc_syntax feat(minifier): compress a || (a = b) to a ||= b (#8315) 2025-01-07 23:19:52 +00:00
oxc_transformer perf(transformer/arrow-functions): reduce size of inlined visitor (#8322) 2025-01-08 01:52:45 +00:00
oxc_traverse release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_wasm refactor(linter): refactor LintBuilder to prep for nested configs (#8034) 2025-01-05 04:08:26 +00:00