News for hackers. Stuff that matters.
Re:On Android, Garbage Collection Can Kill You by mwd_ on Monday June 25, 2012 @01:50PM (#4157641)
This is what I do for Android games -- design things to be mutable and pre-allocate however many I'll need during a level. You also have to avoid foreach because it creates objects.

This is an area where C# is better. You can create classes or structs and structs go on the stack. Structs are a lot more appropriate for objects like rects.

There are no comments on this comment yet.