Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Variable-size-Get/Pop11/variable-size-get.pop11
Normal file
10
Task/Variable-size-Get/Pop11/variable-size-get.pop11
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;;; Prints 0 because small integers need no heap storage
|
||||
datasize(12) =>
|
||||
;;; Prints 3: 3 character fits into single machine word, 1 word
|
||||
;;; for tag, 1 for length
|
||||
datasize('str') =>
|
||||
;;; 3 element vector takes 5 words: 3 for values, 1 for tag, 1 for
|
||||
;;; length
|
||||
datasize({1 2 3}) =>
|
||||
;;; Prints 3 because only first node counts
|
||||
datasize([1 2 3]) =>
|
||||
Loading…
Add table
Add a link
Reference in a new issue