Iterating through multiple LinkedList for collision detection, Good practice?
<p>For my recent game i have about 15 LinkedList i am iterating through to check for collisions.</p>

<p>I have about 10 to 12 methods that iterate over each LinkedList like below:</p>

<pre><code>Iterator&lt;Tile&gt; triangleIT = circleTiles.iterator();

while (triangleIT.hasNext()) {
    Tile square_sprite = triangleIT.next();
    //Start checking our collision for this method.
</code></pre>

<p>I have a timer that calls the checkCollisions() about every .1 second. Inside checkCollisions() is the other methods that iterate through the LinkedList and checks for the collisions. </p>

<p>Recently, i have ran into issues where after playing a level of the game for a while then exiting the game, the homescreen, and app pages "flicker" when swiping between them. Almost like the device is out of memory or still trying to process a lot of information. </p>

<p>The funny thing is, when i open another app and the exit the app, the flickering stops. Very random, and ive never seen this before out of all 2 of my games. </p>

<p>It seems to only be happening on Galaxy s3. Im sure it will happen on other devices when tested enough. </p>

<p>With all of this said, is it dangerous what i stated i am doing above? Has anyone ever seen issues like this when developing an app or game?</p>
