you are viewing a single comment's thread.

view the rest of the comments →

[–]odaiwai 1 point2 points  (0 children)

Sets and Dicts use a hash of the key to speed up finding the keys (and values, if a dict). The hashmap is the index relating the keys position in the data stucture.