So I understand TimerUtils is basically just a timer recycling library. Is this correct? It has some other functions, but that seems like the main use for it. The idea being creating and destroying timers is significantly slower than recycling them.
Anyway, I have heard there are other timer systems which use logic to condense multiple timers into one. I imagine it would keep some kind of list of functions that will execute when it expires. Would it then use triggers as pseudo function handles? Is that faster than making many timers that will expire at the same time?
I am curious how those systems work. Optionally, a link to such a library would be nice. Is there a trade-off between these systems? Is a system that has just one timer to expire at one time going to be less efficient in the case where you never have any timers expire at the same time? How much so?
Thanks for any information in advance!
Anyway, I have heard there are other timer systems which use logic to condense multiple timers into one. I imagine it would keep some kind of list of functions that will execute when it expires. Would it then use triggers as pseudo function handles? Is that faster than making many timers that will expire at the same time?
I am curious how those systems work. Optionally, a link to such a library would be nice. Is there a trade-off between these systems? Is a system that has just one timer to expire at one time going to be less efficient in the case where you never have any timers expire at the same time? How much so?
Thanks for any information in advance!