{{uitech}}, formatting...
mNo edit summary |
({{uitech}}, formatting...) |
||
| Line 1: | Line 1: | ||
Some | {{uitech}} __NOTOC__ | ||
Some information on the memory usage of data in the WoW LUA environment (Expanding upon a forum posting). | |||
{{infoline|This is somewhat out of date as of the 1.10 patch}} | |||
= Data = | = Data = | ||
| Line 33: | Line 37: | ||
Locally scoped variables in functions are stored on the stack, rather than being part of the garbage collected memory heap, however if the variable contains a reference type, then the actual data referenced is not on the stack. (Though it's not actually a stack, per se, see the LUA source code for details) | Locally scoped variables in functions are stored on the stack, rather than being part of the garbage collected memory heap, however if the variable contains a reference type, then the actual data referenced is not on the stack. (Though it's not actually a stack, per se, see the LUA source code for details) | ||