Re: [Python-Dev] dict and required hashing

2014年4月18日 15:01:20 -0700

On Fri, Apr 18, 2014, at 14:46, Jim J. Jewett wrote:
> (1) I believe the recent consensus was that the number of comparisons
> made in a dict lookup is an implementation detail. (Please correct me
> if I am wrong.)
Absolutely.
> 
> (2) Is "the item will be hashed at least once" a language guarantee?
No. (Would that be useful at all?)
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to