[Python-Dev] I think my set module is ready for prime time; comments?

Tim Peters tim.one@home.com
Wed, 24 Jan 2001 23:38:54 -0500


[Christian Tismer]
> ...
> Not sure if hashes and keys should be apart, but
> sure for values.

How so?  That is, under what assumptions?  Any savings from separation would
appear to require that I look up keys a lot more than I access the
associated values; while trivially true for dicts used as sets, it seems
dubious to me for use of dicts as mappings (count[word] += 1, etc).