Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(semantic): reduce memory copies (#4216)
Reduce memory copies when resolving references in `Semantic`. If parent scope has no unresolved references for `name`, there is no need to generate a new `Vec<ReferenceId>` for `name` and copy in contents from current scope. Just move the existing `Vec` to the parent.
- Loading branch information