mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 22:23:52 +08:00
The evolving-array analysis walked the binding's whole function and resolved the symbol of every identifier in it, once per empty-array binding, so a function with many such bindings cost quadratic time. It now takes the file's identifiers spelled like the binding from the per-file index (identifiersNamed), keeps those inside the binding's function, and resolves only them.