Files
OpenRA/OpenRA.Mods.Common/Traits
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-01-11 11:58:54 +02:00
2023-06-06 11:51:47 +03:00
2023-04-08 16:51:51 +03:00
2023-06-06 11:51:47 +03:00
2023-06-06 11:51:47 +03:00
2024-01-31 13:29:58 +02:00
2025-04-02 10:18:32 +03:00
2023-06-06 11:51:47 +03:00
2023-04-08 16:51:51 +03:00
2025-02-22 14:56:25 +02:00
2025-06-14 13:22:49 +02:00
2023-01-11 11:58:54 +02:00
2023-01-11 11:58:54 +02:00
2023-01-11 11:58:54 +02:00
2023-06-06 11:51:47 +03:00
2023-06-06 11:51:47 +03:00
2025-04-02 10:18:32 +03:00
2023-07-04 23:52:25 +02:00
2023-01-11 11:58:54 +02:00
2025-06-30 20:19:21 +03:00
2023-04-08 16:51:51 +03:00
2023-06-06 11:51:47 +03:00
2023-06-06 11:51:47 +03:00
2023-06-06 11:51:47 +03:00
2023-01-11 11:58:54 +02:00
2023-07-10 18:05:56 +03:00