2 ms·
I'll add the really correct but stubborn answer. It's a game, why are we allocating memory? Working in for example Unity I need to not ever allocate anything p
by animal531 5y ago
I'll add the really correct but stubborn answer. It's a game, why are we allocating memory?
Working in for example Unity I need to not ever allocate anything per frame if I can help it (and then knowing other gotchas such as that foreach and/or getting the .Count on a list will also cause memory to be allocated).