Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94014
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <skip.montanaro@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.029 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'subject:How': 0.09; 'dict': 0.09; 'instead.': 0.15; 'cc:name:python': 0.16; 'wrote:': 0.16; 'skip': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; "python's": 0.23; 'long,': 0.24; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'hash': 0.29; 'maybe': 0.33; 'lists': 0.34; 'received:google.com': 0.35; 'subject:work': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'no,': 0.38; 'linked': 0.63; 'different': 0.63; 'jul': 0.72; 'batchelder': 0.84; 'am.': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0UK5PRWQf3SuDQ6jUy1JqpveN67/tSopcXsM3RBQq6o=; b=oeWRH6s7z1mr24Ve2oSGj4sS9wVdzqDUhHo/egVKc8f5Gpz2y8a1f6DFDbycNAS4Zy NXApGfijj/YK2zqUA7e1y2JloVolqcIIsPQFRjioE6Q7x9cSIrROvwRdLZJOj6eeo6Y9 +dLc1dI6aHAGtq/Y1Oe9EUSZVuSy7/C+PeJA39PdgdvSf/X9dNCFNESKeGGqWYrMHguO aRG19p/8MyYiE0J8aE9RdfJ2kc8PBm7QBbgd4pllcr+qh99yMJssSXZsvYyqerd5AnAb niP4BfPgqYhlzqgq2YQzXwkyL+wTC1RZLwGQz/ByzHS+Mj8z9muUszVGRVE0TX7/rikl WJdg== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.148.135 with SMTP id w129mr18995664iod.52.1437148691024; Fri, 17 Jul 2015 08:58:11 -0700 (PDT) |
| In-Reply-To | <3a01125b-4f7d-4c37-bae1-ee8e6e7eb70b@googlegroups.com> |
| References | <A2CB3AFE-ACB3-4AD3-B35B-4BC6BA3D729D@gmail.com> <CANc-5UwGj5uT_ZBZETQz25O5NeEResUg=P0zL_oHEdK14VkThQ@mail.gmail.com> <948FE9D4-63CF-4730-B5F0-675F780A2481@gmail.com> <mailman.603.1437073105.3674.python-list@python.org> <3a01125b-4f7d-4c37-bae1-ee8e6e7eb70b@googlegroups.com> |
| Date | Fri, 17 Jul 2015 10:58:10 -0500 |
| Subject | Re: How does a dictionary work exactly? |
| From | Skip Montanaro <skip.montanaro@gmail.com> |
| To | Ned Batchelder <ned@nedbatchelder.com> |
| Cc | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.650.1437148693.3674.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1437148693 news.xs4all.nl 2950 [2001:888:2000:d::a6]:53988 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3522 |
| X-Received-Body-CRC | 3501539147 |
| Xref | csiph.com comp.lang.python:94014 |
Show key headers only | View raw
On Fri, Jul 17, 2015 at 9:32 AM, Ned Batchelder <ned@nedbatchelder.com> wrote: > Maybe people are reading a different implementation than I am. Python's > dict object doesn't use linked lists to deal with hash collisions, it probes > other slots instead. No, I was working a) from memory, and b) not looking at the implementation, which I last did a long, long time ago... Skip
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: How does a dictionary work exactly? Skip Montanaro <skip.montanaro@gmail.com> - 2015-07-16 13:58 -0500
Re: How does a dictionary work exactly? Ned Batchelder <ned@nedbatchelder.com> - 2015-07-17 07:32 -0700
Re: How does a dictionary work exactly? Skip Montanaro <skip.montanaro@gmail.com> - 2015-07-17 10:58 -0500
csiph-web