Originally Posted by Haleth
The author creates local copies of references to functions they use often for a small performance improvement. Calling a function using a global reference is slightly slower than using a local reference.
The difference is very small, though. If you call a function a million times, you might see a millisecond difference or so. It can be worth considering for addons which do a lot of calculations in combat, like Omen.
|
Ty for the answer - so in fact if i was to rewrite his addon i could actually leave these kind of locals behind?