forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Query performance: use a custom Iterator impl
For queries that primarily list the targets in a package or set of packages, this can be on the critical path. I've seen significant performance improvements with this change (after a number of other fixes), and the implementation is not significantly more complex than before, so I'm calling it a net win. Also add some basic tests for the values() collection. PiperOrigin-RevId: 249656957
- Loading branch information
Showing
2 changed files
with
32 additions
and
4 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