Hash set (source code)

= Hash set

A set data structure backed by a <hash table>. It stores each key at most once and supports membership tests, insertion, and removal with expected constant time under suitable hashing and load assumptions.