5 ms·
Preciselly because C# uses GC is common to just allocate everything in a chunk to not trigger the gc later. Aka you minimize allocations in gameplay.
by yeasku 9mo ago
Preciselly because C# uses GC is common to just allocate everything in a chunk to not trigger the gc later.
Aka you minimize allocations in gameplay.
- badsectoracula 9mo agoThis is far from common in practice and it is only applied sporadically. Something like allocating formatted strings for the HUD is IME much more common (and done in UE5/C++ too, so not even a C# forcing GC excuse).