Explorer: move off iterating over file changes #108165
Labels
debt
Code quality issues
file-explorer
Explorer widget issues
insiders-released
Patch has been released in VS Code Insiders
Milestone
The
FileChangesEvent
is now internally using a ternary search tree which makes thecontains
method very efficient. As such I went ahead and deprecated those methods of the event that would expose the raw changes that are not optimal to be dealt with.This issue is to see what is needed from the file change event API to move the explorer off these deprecated methods so that we ensure no expensive work from reacting to file changes when many changes occur.
The users are:
vscode/src/vs/workbench/contrib/files/common/explorerService.ts
Line 299 in b1c54c1
vscode/src/vs/workbench/contrib/files/common/explorerService.ts
Line 329 in b1c54c1
vscode/src/vs/workbench/contrib/files/common/explorerService.ts
Line 344 in b1c54c1
vscode/src/vs/workbench/contrib/files/common/explorerService.ts
Line 367 in b1c54c1
The text was updated successfully, but these errors were encountered: