-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improve code gen performance by avoiding linear searches (#63)
* perf: keep variables in a map for faster lookup * perf: use a set in sortVarsOfType for faster lookup * perf: use a set in sortInitVars for faster lookup * perf: use a set for faster lookup in addDepsToMap * perf: use varWithRefId instead of linear search in checkSpecVars Fixes #62
- Loading branch information
1 parent
a6bc98d
commit d4bf555
Showing
1 changed file
with
103 additions
and
18 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