-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use better maps to store visitor state (#4459)
* Make use of abseil flat_hash_map * Preallocate at least 16 slots * Use better hash * Do not do lookup twice to get final result * Clarify comment * Clarify docstring Co-authored-by: Glen Gibb <glen.gibb@alumni.stanford.edu> * Link abseil privately to IR * Clarify iterator usage * Refined `finalResult` semantics` --------- Co-authored-by: Glen Gibb <glen.gibb@alumni.stanford.edu>
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 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
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