m
no edit summary
(New page of useful info) |
mNo edit summary |
||
| Line 5: | Line 5: | ||
== Values == | == Values == | ||
Simple data types like numbers and booleans are represented as their actual | Simple data types like numbers and booleans are represented as their actual <b>values</b>, and are passed around as such. | ||
== References == | == References == | ||
Complex data types (Userdata, Strings, and Tables) are represented as | Complex data types (Userdata, Strings, and Tables) are represented as <b>references</b> to their actual value. Each reference fits in the same amount of memory as a value, but then the actual object that is referenced takes up additional space. | ||
=== Strings === | === Strings === | ||