I was tinkering around with Python\'s set and frozenset collection types.
set
frozenset
Initially, I assumed that frozenset would provide a
The reason for the two different datatypes is not for performance, it is functional. Because frozensets are immutable they can be used as a key in dictionaries. Sets cannot be used for this purpose.