Variable size/Get: Difference between revisions

m
No edit summary
Line 1,182:
=={{header|TXR}}==
====Lisp Object Size====
All Lisp values are pointer-sized cells, so they have a basic size that is four or eight bytes, depending on whether the processor architecture is 32 or 64 bits. Heap values take up a four-cell record. And some objects have additional dynamically allocated memory. The <code>prof</code> operator can be wrapped around code which constructs and returns an object to calculate the size of the heap part plus dynamically allocated memory:\
 
<pre>1> (prof 1)
543

edits