This will be used to track memory segments instead of the array we currently use. The API is based on the hash table API; it can support alternative implementations in the future, like red-black trees.