Thanks very much, this video is great!
Helped me a lot, now this isn't a problem anymore :)
On 30 Jul., 17:46, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote:
I recommend seeing this lecture from GoogleIO on the same
float is a primitive type, not an object. It sits in a register,
not on the heap.
Float is an object that can be used to box a float. Hopefully
you're not using Float for values used in calculations.
I'm using float not Float.
I'll try out the allocation tracker, thanks!
I recommend seeing this lecture from GoogleIO on the same subject:
http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html
To your question, GC can pause real-time games, unfortunately. Two
ways to minimize this are:
1) reuse objects, rather than allocating new ones and
On Jul 29, 1:36 pm, f_heft delphik...@gmail.com wrote:
At the moment I'm almost only using local objects (float) in my
methods, so I guess they are allocated every time the method is called
float is a primitive type, not an object. It sits in a register,
not on the heap.
Float is an object
4 matches
Mail list logo