Thread
:
local pointers of functions
View Single Post
08-17-12, 07:44 PM
#
4
Torhal
A Pyroguard Emberseer
Join Date: Aug 2008
Posts: 1,196
That's correct. Think of it like this: When you do a global lookup, it has to find the memory address where the value (function, string, whatever) is located - each time.
Code:
local variable_name = memory_address_of_value
No more lookups.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".
Author of
NPCScan
and
many other AddOns
.
Torhal
View Public Profile
Find More Posts by Torhal