Fixups to the hash function for frozensets.
* Non-zero initial value so that hash(frozenset()) != hash(0). * Final permutation to differentiate nested sets. * Add logic to make sure that -1 is not a possible hash value.
Showing
Please
register
or
sign in
to comment