View Single Post
01-19-13, 12:11 AM   #12
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 89
Do I need to quote your own post for you?

Originally Posted by Phanx
If you are looking up the same table value 200 times per second, or even calling the same function 20 times per second, in combat or nto, you are doing something horribly wrong.
My buff/debuff frames are calling the same update function 4 times per second, and there are 5 of them. This means I am (quoting you again):

Originally Posted by Phanx
calling the same function 20 times per second
and am therefore (again):

Originally Posted by Phanx
doing something horribly wrong
I just want to know what I can do to avoid this situation. I know now that calling the same function 20 times per second is horribly wrong. The problem is I don't know what to do about it. How can I keep my addon's functionality here without doing this? How can I cut this number down? I was even thinking of adding a sixth debuff frame but doing so is almost unthinkable with how many more function calls it would add (at least 4 per second).
  Reply With Quote