That's what I was thinking after reading the rationale, there are plenty of options that don't involve a hash map.
That said, linearly scanning is not much different from a hash map with linear probing that has no empty slots left, so it's not necessarily obvious that the hash map actually takes that much more space.