View Single Post
07-30-16, 04:51 PM   #7
Aznamir
A Fallenroot Satyr
 
Aznamir's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 26
Originally Posted by jeffy162 View Post
Similar to WeakAuras is STILL not the same as. It would probably help to post the code (if it's huge, post it to a "paste" site and post the link to it).
I've included the relevant code in my response.
It looks like the issue was with trying to get spells names during the addon initialization.
Had to change it slightly to use spellIDs and only get the name when it had to be checked.


Originally Posted by TOM_RUS View Post
Is it really only way? Sounds like a lot of wasted resources right here. Have you tried to listen for combatlog events instead (or some UNIT_AURA event)?
Parsing combat log means a lot more housekeeping such as re-setting timers upon spell recasts, creating and killing timers to update the UI, etc. As I see in the profiler my addon is pretty much at the bottom of memory/cpu usage.
  Reply With Quote