you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 3 months ago

If you store your timers in absolute time and keep them sorted, you only ever need to check the first timer rather than decrementing every timer every step.

  • source