Quantcast WoWInterface - View Single Post - Are all addon "open source"?
View Single Post
06-12-19, 10:05 AM   #29
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 13
Originally Posted by Resike View Post
The compiled file will be this: (...)

Since the variable name is more then 8 charaters the compiler can't transalte that variable name into 1 bytecode, so it will take up more space, and since the code is longer the execution is going to take more time.
This thread is 6 years old, but let me correct this: the compiler only includes the variable name if it has debugging information on, which it pretty much never uses unless an error occurs. For a pure bytecode, you'd use `luac -s`, with variable names stripped.
  Reply With Quote