Data Fields | |
size_t | len |
size_t | capacity |
TokenType_mut_p | start |
The constant PADDING_TokenType_ARRAY
= 0
defines how many items are physically available after those valid elements.
This can be used to avoid special cases near the end when searching for fixed-length sequences in the array, although you have to set them to 0
or other appropriate value.
size_t TokenType_array::capacity |
Maximum length before reallocation is needed.
size_t TokenType_array::len |
Current length, the number of valid elements.
TokenType_mut_p TokenType_array::start |
The items stored in this array.