Unverified Commit cb5d1666 authored by Kuba Ober's avatar Kuba Ober Committed by GitHub

Expand the short description of the list pointer.

It helps to list, in one place, both ways the list size is conveyed.
parent d8dd3233
......@@ -178,7 +178,9 @@ A list value is encoded as a pointer to a flat array of values.
5 = 8 bytes (non-pointer)
6 = 8 bytes (pointer)
7 = composite (see below)
D (29 bits) = Number of elements in the list, except when C is 7
D (29 bits) = Size of the list:
when C <> 7: Number of elements in the list.
when C = 7: Number of words in the list, not counting the tag word
(see below).
The pointed-to values are tightly-packed. In particular, `Bool`s are packed bit-by-bit in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment