-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add directory filter callback to traverseDirectory
Evaluate exclusion rules during traversal so we can rule out entire subtrees without traversing into them instead of enumerating them exhaustively only to find that every single file inside them matches some subtree exclusion pattern. This can be a massive time reduction on large projects that mix code- with non-code in the same directory tree. On one large game project, it reduced qgrep update time from nearly 400s down to 9s. Signed-off-by: Fabian Giesen <fabian.giesen@epicgames.com>
- Loading branch information
Fabian Giesen
committed
Oct 26, 2024
1 parent
41360d2
commit ea35208
Showing
5 changed files
with
39 additions
and
12 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
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
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