filters.ts' matchesSubString() performs badly in some cases #35346
Labels
bug
Issue identified by VS Code Team member as probable bug
freeze-slow-crash-leak
VS Code crashing, performance, freeze and memory leak issues
search
Search widget and operation issues
verified
Verification succeeded
Milestone
E.g., matchesSubString('aaaaaaaaaaaax', 'aaaaaaaaaaaaaaaaaaaaaaaaa') calls _matchesSubString() 38 million times due to the backtracking being done.
This is used for the fuzzy highlighting in QuickOpen. It seems to have been there for some time, not a recent regression.
/fyi @bpasero
The text was updated successfully, but these errors were encountered: