Syntriax.Engine/Engine.Physics2D/Primitives
Syntriax b14d10db0c perf: Drastically Improved Memory Usage
TIL, records are not value types and are actually just reference types. So I was pretty much allocating from heap every time I used any of my data types (Like Vector2D). Needless to say, they are all now readonly structs as I originally intended them to be.
2024-01-27 00:35:12 +03:00
..
AABB.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
Circle.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
Line.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
LineEquation.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
Projection.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
Shape.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00
Triangle.cs perf: Drastically Improved Memory Usage 2024-01-27 00:35:12 +03:00