Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(semantic): do not reserve space in
resolved_references
(#4962
) While resolving references in `SemanticBuilder`, there is little benefit to reserving space in advance in `resolved_references` as it is not possible to avoid growing the `Vec`. The comment here says "Reserve space for all references to avoid reallocations", but `reserve()` itself may cause a reallocation.
- Loading branch information