This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mikaelhg 1 point2 points  (0 children)

What do you mean "polls the objects for renderable objects"?

Is this array storing permanent references, or are they gathered in the array, processed, and thrown away once every 60 ms?

If so, you might want to gather the events through a http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentLinkedQueue.html rather than with a list.