LibShefkiTimer-1.0
Serve as a drop in replacement for AceTimer-3.0 that uses the Animation system in WoW as a scheduler rather than implementing a custom scheduler in Lua. It should result in the ability of scheduling timers with delays much less than AceTimer-3.0 currently allows and the scheduling should be much more efficient.
While it's still not released, I believe it to be reasonably stable and functional. I'll probably starting tagging here in another week or so of testing. So if people want to start using it they can.
As far as moving AceTimer to this, it's really up to those guys if it's worth it. CPU time is pretty much impossible to make reasonable comparisons on since the scheduling is happening in the game engine instead of Lua. In most realistic scenarios I can come up with there is some decent improvement in CPU time, usually around 20-30%. I have seen experimentally that the timers fire on a more even basis than AceTimer. Timers shorter than 0.1s are supported, including 0 length timers, which will fire as soon as possible.
At this point it does not include upgrade code to upgrade an AceTimer-3.0 library into a LibShefkiTimer-1.0 library and take over scheduling for those timers. So it can't just be renamed AceTimer-3.0 with a higher minor and dropped in. So if this was adopted as the timing library for Ace3 it would need to have upgrade code added or it would need to be added alongside AceTimer-3.0 with a new major.
Comments