View Single Post
08-17-12, 07:44 PM   #4
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
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.
  Reply With Quote