-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running findFiles() creates a ripgrep process for each URL which could saturate the CPU for tens of seconds. This patch optimizes the findRelatedFiles() function to only run findFiles() once and then filter the results.
- Loading branch information
1 parent
43d6b64
commit 2364e83
Showing
1 changed file
with
26 additions
and
17 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