When performance is needed, `HashSet` is too generic. A programmer would normally take advantage of their own model structure to optimize processing.