I have a question about effectivity which isn't a specific J2ME issue but I will ask it anyway.
I have som code which is executed several times every frame:
MyObject object = (MyObject) stack1.pop();
I feels like it is unefficient to create a new object every time. An alternative is to write:
Which alternative is the fastest and most effective? Is there any other alternative which is better?