-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(plugin/replace):
expand_typeof_replacements
avoid temporary ve…
…cs (#2321) ### Description Pure refactor. Avoid temporary `Vec`s in `expand_typeof_replacements`. Also avoid a pointless conversion of `Vec` to `HashMap` when that `HashMap` is immediately converted back to an iterator in the caller anyway.
- Loading branch information
1 parent
22b43cd
commit 84cb2a2
Showing
1 changed file
with
19 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters