Summary
- fast-skip safe single-line initializers when isolated declarations provide an explicit contract
- preserve the general JSX-aware scanner for multiline and complex syntax
- benchmark isolatedDeclarations and semantic generation over identical uncached inputs
- publish paired timings and speedups in the GitHub Actions benchmark summary
Local benchmark
- small typed initializers: 4.7x faster
- medium typed initializers: 16.2x faster
- large typed initializers: 26.8x faster
Both paths must emit byte-for-byte identical declarations before timings are accepted.
Validation
- bun run test (1613 pass)
- bun run typecheck
- bun run lint
- bun run build
- zig build test
- bun run benchmark.ts --ci --json