Don't keep mix files in memory.

Added SegmentStream class to assist in maintaining views into portions of the FileStream of the overall mix file to avoid having to copy sections into in-memory buffers.
This commit is contained in:
RoosterDragon
2015-09-18 00:35:15 +01:00
parent 410f121a1e
commit 210c7e312b
3 changed files with 108 additions and 3 deletions

View File

@@ -150,6 +150,7 @@
<Compile Include="Orders\UnitOrderGenerator.cs" />
<Compile Include="Player.cs" />
<Compile Include="Primitives\MergedStream.cs" />
<Compile Include="Primitives\SegmentStream.cs" />
<Compile Include="Primitives\SpatiallyPartitioned.cs" />
<Compile Include="Primitives\ConcurrentCache.cs" />
<Compile Include="SelectableExts.cs" />