Files
OpenRA/OpenRA.Mods.Common/Traits/World/EditorActorLayer.cs
RoosterDragon 0899d02377 Avoid allocations when generating RadarSignatureCells.
The RadarWidget can supply a reusable buffer to each trait to avoid individual traits having to return new enumerables. Additionally, this allows the two traits to avoid LINQ and further allocations as they can manually enumerate and populate the buffer themselves.
2017-12-12 00:00:51 +01:00

7.7 KiB