Simple typo here: https://github.com/munificent/game-programming-patterns/blame/04ffbc4fe42a600baa5e293a23c31e9cecead1c5/book/event-queue.markdown#L510 > Even though you copy when **they** array grows, enqueuing an item still has constant amortized complexity.