I see how you can access your collection by key. However, the hash function itself has a lot of operations behind the scenes, doesn\'t it?
Assuming you have a nice h
Theoretically it is still O(n), because in the worst case all your data may end up having identical hash and be bundled together in which case you have to linearly go through all of it.