Files
OpenRA/OpenRA.Game
RoosterDragon a546ca2f92 Tweaks for map generator performance.
The map generator is already performant, but we can remove a few rough edges from infrastructure it interacts with.

- Add TypeDictionary constructor to clone from an existing copy. The map editor infrastructure relies heavily on cloning ActorReferences and the underlying dictionaries. A dedicated clone method avoids reflection overhead for CreateTypeContainer on a fresh instance.
- Use ThrowIndexOutOfRangeException helper. This allows the Index method to be inlined.
- Reuse lists in FloodFill. This avoids allocating and resizing new lists on each loop when we can reuse the existing capacity.
- Manage CellEntryChanged at the layer rather than individual previews. We only need to attach/detach from the delegate once at the layer, rather than many times as previews are added and removed.
2025-12-28 14:12:02 +02:00
..
2023-10-30 23:31:33 +02:00
2025-04-19 16:34:13 +01:00
2025-12-28 14:12:02 +02:00
2025-11-23 13:34:31 +02:00
2025-12-20 15:13:15 +02:00
2025-09-14 12:32:49 +01:00
2025-05-09 16:28:04 +03:00
2023-06-06 11:51:47 +03:00
2023-04-08 16:51:51 +03:00
2025-12-22 15:28:09 +02:00
2025-01-07 18:07:13 +02:00
2023-01-11 11:58:54 +02:00
2025-12-22 15:28:09 +02:00
2023-04-08 16:51:51 +03:00
2023-11-16 08:45:10 +02:00