oxc/crates
overlookmotel 383b449d4e
perf(ast): box ImportDeclarationSpecifier enum variants (#3061)
Part of #3047.

As with #3058, it's hard to interpret the benchmark results here. But in
this case I think it's easier to see from "first principles" that this
should be an improvement - `ImportSpecifier` is pretty massive (80
bytes) vs `ImportDefaultSpecifier` (40 bytes), and the latter (e.g.
`import React from 'react'`) is common in JS code.
2024-04-22 09:06:39 +08:00
..
oxc Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_allocator refactor(bench): reuse allocator in parser + lexer benchmarks (#3053) 2024-04-22 09:03:26 +08:00
oxc_ast perf(ast): box ImportDeclarationSpecifier enum variants (#3061) 2024-04-22 09:06:39 +08:00
oxc_cli feat(cli): implement --format checkstyle (#3044) 2024-04-21 16:30:28 +08:00
oxc_codegen feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_diagnostics feat(cli): implement --format checkstyle (#3044) 2024-04-21 16:30:28 +08:00
oxc_index Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_js_regex refactor: rename CompactString to CompactStr (#2619) 2024-03-06 12:24:23 +08:00
oxc_language_server chore: apply cargo autoinherit (#2826) 2024-03-26 23:57:50 +08:00
oxc_linter feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_macros feat(napi/parser): remove experimental flexbuffer api (#2957) 2024-04-13 14:59:31 +08:00
oxc_minifier Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_module_lexer refactor(ast): add walk_mut functions (#2776) 2024-03-25 20:40:13 +03:30
oxc_parser perf(ast): box ImportDeclarationSpecifier enum variants (#3061) 2024-04-22 09:06:39 +08:00
oxc_prettier feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_semantic fix(semantic): correctly resolve identifiers inside catch parameter initializers (#3050) 2024-04-21 23:53:38 +08:00
oxc_sourcemap Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_span refactor(napi): remove unnecessary custom Serialize impl for Atom (#3041) 2024-04-21 13:04:51 +08:00
oxc_syntax fix(semantic): correctly resolve identifiers inside parameter initializers (#3046) 2024-04-21 23:38:31 +08:00
oxc_transformer perf(ast): box ImportDeclarationSpecifier enum variants (#3061) 2024-04-22 09:06:39 +08:00
oxc_wasm feat(transformer): add filename (#2941) 2024-04-11 18:43:51 +08:00