[Python-Dev] dict and required hashing
Benjamin Peterson
benjamin at python.org
Fri Apr 18 23:57:55 CEST 2014
More information about the Python-Dev mailing list
Fri Apr 18 23:57:55 CEST 2014
- Previous message: [Python-Dev] dict and required hashing
- Next message: [Python-Dev] dict and required hashing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?)
- Previous message: [Python-Dev] dict and required hashing
- Next message: [Python-Dev] dict and required hashing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list