View Single Post
10-11-20, 12:57 AM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,322
There really isn't any magical difference between the two ways of registering events. The Lua engine is just slow compared to the game's C code. Any time spent calling your Lua code eats up CPU power, even if your function has no instructions in it. This is why the specific unit event registration exists, to only call your function when the event fires for the unit you're watching.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 10-11-20 at 01:01 AM.
  Reply With Quote