| ▲ | johnnyanmac 13 hours ago | |||||||||||||
I haven't dug deep enough into C# to say this with certainty, but I believe later C# versions allows you to do enough manual allocation to "almost" get around the garbage collector. As well as new calls to try and nudge the GC away from hot paths. You need to be very disciplined to pull this off, though. LINQ is basically off limits, for example. And of course, Godot's C# is likely much older than these modern techniques to begin with. | ||||||||||||||
| ▲ | tapoxi 11 hours ago | parent [-] | |||||||||||||
Godot's C# is fairly recent, C#12/.NET 8. | ||||||||||||||
| ||||||||||||||