Thread
:
Hooking function when other addons are using local copies of it
View Single Post
08-16-19, 03:29 PM
#
2
Kanegasi
A Molten Giant
Join Date: Apr 2007
Posts: 666
Don't use a local copy.
Localizing a function provides a minor performance increase for functions called often, especially each frame. This function is single use when the user requests it during a flight, it's silly to localize it.
__________________
addons
-
weakauras
-
Lua Wall of Shame
Don't like combat text on frames?
Kanegasi
View Public Profile
Send a private message to Kanegasi
Find More Posts by Kanegasi