Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 31 Mar 2015 12:47 PM |
| local variables are stored directly in the lua virtual machine which is the quickest lookup table lua has to offer rather than accessing the global environment it merely refers to the virtual machine stack first and pulls out the local variable however it must be noted that all environments have a local variable limit of 200 so i would advise using a do end block in order to give you more environments to use more local variables for |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 12:47 PM |
k sir
CoejoeTheGreat, the Emperor of Fire Warriors Clan |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 12:48 PM |
| i didn't understand at all |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 12:49 PM |
local poop = false
instead of
poop = false
@headcounts |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 12:49 PM |
| learn more about local/global scopes as well!!! |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 12:51 PM |
it really doesn't make much of a speed difference to notice
-{===>SS |
|
|
| Report Abuse |
|
|
Auerox
|
  |
| Joined: 14 May 2013 |
| Total Posts: 940 |
|
| |
|