oxc/crates/oxc_semantic
overlookmotel da69076c98 perf(semantic): reduce overhead of cfg recording ast nodes (#4262)
Control flow graph builder records AST node IDs in a temp structure `ast_nodes_records`. Only the first AST node ID inserted into the `Vec` is ever used, so turn it into just a single value.

Using `AstNodeId::dummy()` as sentinel for "not set" instead of using `Option<AstNodeId>` to reduce size of the records stack. `Option<AstNodeId>` is 16 bytes.
2024-07-15 04:31:43 +00:00
..
examples refactor(semantic): make control flow generation optional. (#3737) 2024-06-18 15:59:38 +00:00
src perf(semantic): reduce overhead of cfg recording ast nodes (#4262) 2024-07-15 04:31:43 +00:00
tests/integration refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
Cargo.toml Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
CHANGELOG.md Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00