Improve performance of MiniYaml inheritance tree tracking.

Use an ImmutableDictionary to avoid having to clone the inheritance tree in ResolveInherits. This avoids a lot of dictionary clones.
This commit is contained in:
RoosterDragon
2023-07-07 19:32:01 +01:00
committed by Matthias Mailänder
parent 58e8b123db
commit 30b1f926f2
2 changed files with 17 additions and 14 deletions

View File

@@ -6,6 +6,9 @@
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition="'$(MSBuildRuntimeType)'=='Mono'">
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Linguini.Bundle" Version="0.5.0" />
<PackageReference Include="OpenRA-Eluant" Version="1.0.21" />