Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yeasku
· 11mo ago · 0 comments
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.
Comments
[–]
badsectoracula
11mo ago
This 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).