oxc/napi/transform
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
..
src feat(semantic): add SemanticBuilder::with_excess_capacity (#5762) 2024-09-14 15:02:16 +00:00
build.rs
Cargo.toml release(crates): v0.29.0 (#5763) 2024-09-13 21:43:23 +08:00
CHANGELOG.md release(crates): v0.29.0 (#5763) 2024-09-13 21:43:23 +08:00
index.d.ts feat(napi/transform): align output SourceMap with Rollup's ExistingRawSourceMap (#5657) 2024-09-09 15:55:23 +00:00
index.js chore: do not format napi generated files 2024-09-08 13:42:15 +08:00
package.json ci: add napi tests (#5419) 2024-09-03 12:24:58 +08:00
test.mjs fix(napi/transformer): refresh plugin doesn't work even after passing the refresh option (#5702) 2024-09-11 12:39:51 +00:00