VirtualFileProvider.GetDirectoryContents Recreates a String #12639
Labels
Community
PRs (and linked Issues) created by someone not in the NuGet team
Functionality:Restore
Priority:2
Issues for the current backlog.
Product:VS.Client
Tenet:Performance
Performance issues
Type:Bug
VirtualFileProvider splits up files into their respective path components in its constructor:
And then goes to recreate these exact strings in VirtualFileProvider.GetDirectoryContents via string.Join:
This can be avoided by keeping the original string around.
The text was updated successfully, but these errors were encountered: