WoW:Memory usage: Difference between revisions

m
Robot: converting/fixing HTML
(demoted headings)
m (Robot: converting/fixing HTML)
Line 8: Line 8:


=== Values ===
=== Values ===
Simple data types like numbers and booleans are represented as their actual <b>values</b>, and are passed around as such.
Simple data types like numbers and booleans are represented as their actual '''values''', and are passed around as such.


=== References ===
=== References ===
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.
Complex data types (Userdata, Strings, and Tables) are represented as '''references''' 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 ====
Anonymous user