Garufortho/TickedPriorityQueue — pull request #1 by ricardojmendez (2012-06-23 09:33:32+00:00)
Title: Allocation optimizations

- Added a pre-allocated _workingQueue to TickedQueue, instead of creating
a new one every update.
- Re-using the TickedQueueItem instance when an item is re-added to the
queue because of looping.
- Expanded tests.

On a UnitySteer with 110 agents with their radars, TickedQueue was
allocating about 3.5K per tick. This reduces the allocations to near zero.
All tests are green.