Files
OpenRA/OpenRA.Mods.D2k/SpriteLoaders/R8Loader.cs
RoosterDragon 519db10f61 Improve performance of R8Loader.
The repeated small stream reads of ReadUInt16 generate a lot of overhead. Instead, consume the data in a single ReadBytes call and then unpack within the same buffer.
2024-03-09 21:50:18 +02:00

5.8 KiB