Efficient timer implementations for Bloxd.io scripting by FrostyCaveman.
- Codes used to benchmark and test these implementations: rentry.co/cxdqnntc
Optimized for lower amount of active timers
Starts getting slow after around 300 active timers.
Minified:
Source:
Optimized for high amount of active timers
This is a little slower for lower amount of active timers while still fast.
Minified:
Source:
Old, wrong and slow version. Do not use.