WoWInterface - View Single Post - Hooking function when other addons are using local copies of it
View Single Post
08-16-19, 03:29 PM   #2
A Firelord
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 499
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.
  Reply With Quote