Hey,
I'm developing a processor-intensive app for Android, which includes nested loops. The development process is still going on, but I'm already trying to find ways to optimize the performance. And I need tips and tricks for it. :)
Mainly I've been changing all the for-loops from (int i = 0; i < x; ++i) format to (Object o : list) format. It has sped the program up a bit, but I still get some spikes when iterating through lists with over 2000 entries, and I use Vector<> as my lists. I've also tried to pull all the needed into local variables, but that's still in progress.
So, if you've got any ideas on how to improve the performance, I would appreciate it a lot. :)