oxc/crates/oxc_syntax
overlookmotel 24beaeb4ee perf(semantic): give AstNodeId a niche (#4469)
Make `AstNodeId` a type with a niche, using `NonMaxU32` as its internal storage. This makes `Option<AstNodeId>` 4 bytes instead of 8. That halves the size of the `Vec` for parent IDs in `AstNodes` (which gets pretty big).
2024-07-26 00:14:53 +00:00
..
src perf(semantic): give AstNodeId a niche (#4469) 2024-07-26 00:14:53 +00:00
Cargo.toml refactor(syntax): use NonMaxU32 for IDs (#4467) 2024-07-26 00:14:47 +00:00
CHANGELOG.md Release crates v0.22.0 (#4434) 2024-07-24 08:23:27 +08:00