On Monday, 26 January 2015 at 07:52:06 UTC, Gan wrote:
I've been working on my game and am getting some pretty gnarly
memory problems. I think it's how I'm allocating.
Sometimes when I use variables I can do Color(255, 255, 255).
But why is that different than new Color(255, 255, 255)?
Same
I've been working on my game and am getting some pretty gnarly
memory problems. I think it's how I'm allocating.
Sometimes when I use variables I can do Color(255, 255, 255). But
why is that different than new Color(255, 255, 255)?
Same when I'm making arrays. new int[](0) vs [].
What's the