View Single Post
07-07-19, 01:13 AM   #1
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
General question about performance

Hi!

In many AddOns I see people doing stuff like that:

Lua Code:
  1. local _G = _G;
  2. local wipe = table.wipe;
  3. local remove = table.remove;
  4. ....

Whats the big advantage of that? Is it affecting the performance? The memory usage?
Is it for better readability? Just generally: Whats the reason for that?

This would all just create references, right?
  Reply With Quote