mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-29 18:43:14 -04:00
pendingPlayerSpawns_, deferredEquipmentQueue_, and pendingGameObjectSpawns_ are consumed from the front via erase(begin()), which is O(n) on vector (shifts all elements). With many spawns queued (entering a city), this made the processing loop O(n²). deque supports O(1) front erasure. pendingCreatureSpawns_ already used deque.