Omen local variables confuses me - help ty :)
View Single Post
03-25-13, 01:57 PM
A Flamescale Wyrmkin
Join Date: Mar 2013
Originally Posted by
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?
View Public Profile
Send a private message to fRodzet
Find More Posts by fRodzet