Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'received:209.85.160.174': 0.09; 'received:mail-gy0-f174.google.com': 0.09; 'storing': 0.09; 'am,': 0.12; 'calculating': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'parsed': 0.16; 'subject:independent': 0.16; '\xa0to': 0.16; 'wrote:': 0.18; 'of.': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'string': 0.24; 'structure': 0.26; 'language.': 0.28; 'message- id:@mail.gmail.com': 0.28; 'retrieval': 0.29; 'actions.': 0.30; 'hash': 0.30; 'subject:?': 0.31; 'values': 0.32; 'list': 0.32; 'received:209.85.160': 0.33; 'fri,': 0.34; 'to:addr:python-list': 0.34; 'list.': 0.35; 'received:google.com': 0.37; 'linked': 0.38; 'replace': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'easier': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'kind': 0.61; 'further': 0.64; 'offers.': 0.84; 'them)': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=irrOiwgxfYuwR9XAjCPyrZnoWYp095T30cU2zE9+ZV8=; b=hWN+WE+sfEy8eSuh1XMCvpDoIKSwkUWmOkWNsQKjg5zV9UyatvulXL9YjkKrFF0x0m n+fI9uUDXNbt0gqi9/0sEcBfuV7R4sz14odEdpuOzLnBz8pdBJinqHXLIkOy6D4Wh6FL t0+fh19qaCAJToeMQ4JkNCOajq4+vIED9wJQI= MIME-Version: 1.0 In-Reply-To: <4ED7A2CE.6070306@davea.name> References: <30715729.411.1322753732534.JavaMail.geo-discussion-forums@pret21> <4ED7A2CE.6070306@davea.name> Date: Fri, 2 Dec 2011 03:18:29 +1100 Subject: Re: order independent hash? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322756313 news.xs4all.nl 6955 [2001:888:2000:d::a6]:42364 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16503 On Fri, Dec 2, 2011 at 2:52 AM, Dave Angel wrote: > On 12/01/2011 10:35 AM, 88888 Dihedral wrote: >> I knew a hash can replace a bi-directional linked list. >> The value =A0can be a multi-field string =A0to be parsed for further act= ions. >> Is this what you are asking? > > A hash is a number, so I don't see how it can replace any kind of linked > list. =A0Perhaps you're thinking of some other language. A hashtable is a form of data structure that involves hashing values (ie calculating hashes for them) and storing them for easier retrieval than a simple linked list offers. That may be what you're thinking of. ChrisA