Size of Boolean and Number types in Lua?

Viewed 36

Please advise how big these two types of data in Lua 5.3 As I understand the size varies depending on the implementation of the language and how configured compliant, and on what system is running.

Would it be faster and less costly to use true and false values for object state on, off instead of 1 and 0?

0 Answers
Related