ModernUO/Projects/Server/Diagnostics
Kamron Batman f21c9687b2
fix: Refactors getting static tiles to use enumerators (#1611)
### Summary
* Refactors getting static/multi tiles to not use allocations.
* `TileList` is now only used during bootstrapping and uses rented buffers to eliminate extra allocations.
* Replaces `StaticTile[] GetStaticTiles` with:
    ```cs
        Map.StaticTileEnumerable GetStaticTiles(int x, int y);
        Map.StaticTileEnumerable GetStaticAndMultiTiles(int x, int y);
        Map.StaticTileEnumerable GetMultiTiles(int x, int y);
    ```
* Removes `Synchronized` and `lock` from TileMatrix. It is no longer considered a multi-thread safe system.
2023-11-26 09:39:46 -08:00
..
BaseProfile.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00
GumpProfile.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00
PacketProfile.cs fix: Refactors getting static tiles to use enumerators (#1611) 2023-11-26 09:39:46 -08:00
TargetProfile.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00
TimerProfile.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00