LibShefkiTimer-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 27 Monthly Downloads
  • Supports: 4.0.1
  • 3,182 Total Downloads
  • Updated 10/19/2010 11:49:32 PM
  • Created 4/3/2010 12:25:09 AM
  • 0 Favorites
  • Project Site
  • Release Type: Mature
  • License: Customized BSD
  • Newest File: 1.0.1
or

About 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.

tag 1.0.1
dc13c9dc4c6ff3acc969b40aa5c265d8b4a93a03
Shefki <shefki@shefki.org>
2010-10-19 21:48:35 -0700

Tag as 1.0.1

--------------------

Shefki:
    - Fix 0 length timers being called immediately rather than on the next OnUpdate.

Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Diablo III Giveaway

Enter Now!