View Single Post
04-30-18, 11:39 PM   #12
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 5
Originally Posted by Rainrider View Post
Beware that GetTime() is cached by the client. This has side effects on Edik's implementation as well.

Please do not take the results as a contra cache statement. Caching may prove useful, but this depends a lot on the use case and the implementation.
I agree. GetTime() changing every frame update. When you have low FPS it could change only few times per second. But auras change few times per second as well if you care just about aura existence not about startTime, endTime is fine. That was target for these wrappers, just make code works at least in 8.x and do some backward compatibility.

Last edited by Edik : 04-30-18 at 11:59 PM.
  Reply With Quote