mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
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. |
||
|---|---|---|
| .. | ||
| context.rs | ||
| isolated_declaration.rs | ||
| lib.rs | ||
| options.rs | ||
| sourcemap.rs | ||
| transformer.rs | ||