mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-15 20:37:45 +01:00
Remove some allocations from resource tree.
This commit is contained in:
parent
89c7095843
commit
c29d0a5a4c
5 changed files with 39 additions and 33 deletions
|
|
@ -278,7 +278,7 @@ internal record ResolveContext(IObjectIdentifier Identifier, TreeBuildCache Tree
|
|||
return node;
|
||||
}
|
||||
|
||||
internal List<Utf8GamePath> FilterGamePaths(List<Utf8GamePath> gamePaths)
|
||||
internal List<Utf8GamePath> FilterGamePaths(IReadOnlyCollection<Utf8GamePath> gamePaths)
|
||||
{
|
||||
var filtered = new List<Utf8GamePath>(gamePaths.Count);
|
||||
foreach (var path in gamePaths)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue