freeso/TSOClient/FSO.UI/Panels
riperiperi 2d6e00bca9 Considerably reduce runtime allocations
Might speed up loading times, average framerate on very large lots in 3D mode. May improve thoughput of server, though VM stack frames and argument arrays should be looked at to improve that further, as well as the dataservice.

- Enum.HasFlag boxes the enum each time, doing a bunch of extra work and causing an allocation. Particularly hot cases of this have been covered by an extension method that does minimal work.
- Removed or moved some lambdas that capture variables to only waste memory when necessary.
- Simplified floating point read method
- Remove some useless ReadBytes() calls
- Smarter logic for copying children before iterating that avoids allocations most of the time.
2023-11-26 02:43:44 +00:00
..
LotControls Considerably reduce runtime allocations 2023-11-26 02:43:44 +00:00
UI3DThumb.cs Remove more unused usings, per-file MPL 2023-11-25 15:55:49 +00:00