oxc/napi
overlookmotel 3230ae5842 feat(semantic): add SemanticBuilder::with_excess_capacity (#5762)
Add `SemanticBuilder::with_excess_capacity` method to request that `SemanticBuilder` over-allocate space in `Semantic`'s `Vec`s.

Use this method to reserve 200% extra capacity for transformer to create more scopes, symbols and references.

200% is an unscientific guess of how much extra capacity is required. Obviously it depends on what transforms are enabled and content of the source code.
2024-09-14 15:02:16 +00:00
..
parser chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
transform feat(semantic): add SemanticBuilder::with_excess_capacity (#5762) 2024-09-14 15:02:16 +00:00
.gitignore feat(napi): isolated-declaration (#3718) 2024-06-17 13:06:00 +00:00