mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
The world tick walked every pending timer and allocated a vector each frame while any timer existed, due or not, and swept finished timers with one erase each. - Track the earliest deadline of a live timer; a frame before it reads the clock and returns. Scheduling lowers it, the sweep recomputes it. - Reuse one vector for the IDs due in a frame. - Sweep in one compacting pass. Callback order and timing are unchanged.