Structure for storing a number of data packets of size sizeof(void*). More...
|Count of entries. |
|void *||entries [HASH__LIST_MAX]|
|Array of pointers. |
Structure for storing a number of data packets of size sizeof(void*).
Count of entries.
If we put the overflow flag/count at the end, the structure is not runtime-resizeable. If we put it at the start, it will always need alignment for the pointers behind. So we can just store the count ... a single bit wouldn't need fewer bytes.
count>HASH__LIST_MAX, this entry is considered "overflown".