mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +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. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| index.d.ts | ||
| index.js | ||
| package.json | ||
| test.mjs | ||