View Single Post
10-17-12, 03:20 AM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Lysiander View Post
... wouldn't it be more efficient to just add a combat check to the filter itself instead of changing the filter?
No, that would just add an extra function call on every single aura change for every unit. That's a lot of extra function calls. Much simpler to just change one table value per frame when entering or leaving combat.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote