Thread
:
UpValues vs function scope local vars
View Single Post
05-13-13, 05:36 AM
#
4
Vlad
A Molten Giant
Join Date: Dec 2005
Posts: 793
I'd rather pull out as many constants as I can in the core of the file itself, as Torhal said, each function call you make a new reference, so not sure how much "performance" it actually saves you, say it's a OnUpdate script running each frame. ;P
__________________
Profile:
Curse
|
Wowhead
Vlad
View Public Profile
Send a private message to Vlad
Find More Posts by Vlad