You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ListPength(parent) ::= Value((parent, 'list-length')) # List lengths are u32 values with a special parent
130
-
Primitive(parent) ::= bit*
135
+
ListLength(parent) ::= Primitive(ListLength<parent>, U32) # List lengths are u32 values with a special parent
136
+
Primitive(parent, type) ::= bit*
131
137
```
132
138
133
-
To determine how many bits need to be read to decode a `Primitive(parent)`, it is sufficient for a decoder to know the distribution of probabilities for `(parent, expected type)`, as stored in the `ProbabilityPrelude`.
139
+
In every instance of `Primitive(parent, type)`, we use the Huffman table defined as `huffman_at` (see above)
140
+
to both determine the number of bits to read and interpret these bits as a value of the corresponding `type`.
0 commit comments