Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93941
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <yoursurrogategod@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.107 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.79; '*S*': 0.00; 'subject:How': 0.09; 'handled.': 0.09; "(i'm": 0.16; 'to:name:python-list@python.org': 0.20; 'gather': 0.22; 'trying': 0.22; 'seems': 0.23; 'implemented': 0.24; 'entries': 0.27; 'correct': 0.28; 'actual': 0.28; "i'm": 0.30; 'message-id:@gmail.com': 0.34; 'this?': 0.34; 'list': 0.34; 'received:google.com': 0.35; 'there': 0.36; 'subject:work': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'thanks': 0.37; 'charset:us-ascii': 0.37; 'to:addr:python.org': 0.40; 'still': 0.40; 'hello,': 0.40; 'some': 0.40; 'header:Message-Id:1': 0.61; 'linked': 0.63; 'more': 0.63; 'information': 0.63; 'underneath': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version; bh=JYJ60qlUCUkIcqGlSPqiMMD6WCyG/aTPQQAeoCe5E9A=; b=j0cssBSCDyMejVciuecpRH70aPcPkqter7szXNtbWbNgMBF1wQABB5fr+zIeU8m27S ZkkdzNWiZ31lGtOVMP7w0rCLCoJ7oza2Hi68bKWQOUDrRwY9VlOtS036wOpQmkKxjDKe fpWOq50frpAUlzFeggxUg3MNlOncNHK1/eLORfAsQI3rV/OBzMbn0/k1iQ6xKQJoUTfJ OH19gjV8x/txffSUNjk6zKSjv8EPo8KrVDuF3Z/AqL9bUNZQDtEnQavmTgAs+MptCw6w G7MepB2UT25fOOadbmz8QKs891e0B3oQwzgyZ4F0RZxd8b0wKiS8Y0322n1oR6PQg7zb dymw== |
| X-Received | by 10.55.25.30 with SMTP id k30mr18760873qkh.26.1437068393213; Thu, 16 Jul 2015 10:39:53 -0700 (PDT) |
| Subject | How does a dictionary work exactly? |
| From | "yoursurrogategod@gmail.com" <yoursurrogategod@gmail.com> |
| Content-Type | text/plain; charset=us-ascii |
| X-Mailer | iPhone Mail (12F70) |
| Date | Thu, 16 Jul 2015 13:39:47 -0400 |
| To | "python-list@python.org" <python-list@python.org> |
| Content-Transfer-Encoding | quoted-printable |
| Mime-Version | 1.0 (1.0) |
| 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.596.1437068401.3674.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1437068401 news.xs4all.nl 2899 [2001:888:2000:d::a6]:56933 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3247 |
| X-Received-Body-CRC | 2194536597 |
| Xref | csiph.com comp.lang.python:93941 |
Show key headers only | View raw
Hello, I was trying to see how some have implemented a hashtable. I took a gather at dictobject.h/.c. It seems that underneath it all it's a linked list and that is used in order to store the actual information (I'm looking at PyDictEntry.) Am I correct in my assumption or is there more to this? I'm still looking into how new entries are handled. Thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
How does a dictionary work exactly? "yoursurrogategod@gmail.com" <yoursurrogategod@gmail.com> - 2015-07-16 13:39 -0400
csiph-web