Experimental "flat" Dictionary container supporting efficient serialization/deserialization
- Value type must be a struct of strictly POD types with no heap memory allocation
- Key/value pairs are never removed from the dictionary
The Dict container is a fixed size which is specified at template instantiation time. Storage is comprised of:
- std::array of Value elements ordered by the original insertion order
- std::array of Key elements (a 32-bit key value and an index into the Values array). This array is kept in sorted order by the key value
- a count of the current number of elements in the container