mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00: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. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||