Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #84108

Re: Trees

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!enother.net!enother.net!goblin2!goblin.stu.neva.ru!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ken@seehart.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '(even': 0.05; 'tree': 0.05; 'lawrence': 0.09; 'library?': 0.09; 'trees': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'jan': 0.12; '22:06,': 0.16; 'etc.),': 0.16; 'received:192.168.1.20': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'removal,': 0.16; 'sense,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'fit': 0.20; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'library,': 0.24; 'cc:2**0': 0.24; 'url:edu': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'especially': 0.30; 'url:mailman': 0.30; 'url:wiki': 0.31; '>>>>': 0.31; 'table,': 0.31; 'url:wikipedia': 0.31; 'probably': 0.32; 'url:python': 0.33; '(e.g.': 0.33; 'table': 0.34; 'could': 0.34; 'good.': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'list': 0.37; 'performance': 0.37; 'pm,': 0.38; 'url:mail': 0.40; 'most': 0.60; 'provide': 0.64; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'virus:src="cid:': 0.66; 'content-type:multipart/related': 0.67; 'filename:fname piece:jpg': 0.67; '20,': 0.68; 'content- type:image/jpeg': 0.69; 'url:htm': 0.73; 'grow': 0.77; '2015': 0.84; 'dict,': 0.84; 'expose': 0.84
Date Tue, 20 Jan 2015 12:45:17 -0800
From Ken Seehart <ken@seehart.com>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version 1.0
To Devin Jeanpierre <jeanpierreda@gmail.com>
Subject Re: Trees
References <CAG=hEY1L-39EmuWpdEh_n-BNfs=qG9nL=MrMT0ar72yGBrkoUA@mail.gmail.com> <m9k2cs$pk$1@ger.gmane.org> <54BEB745.2030309@seehart.com> <CABicbJJz14bCEX0zg+pPojhn5D8kWT=xQGOWfqUS2FEf6NBusg@mail.gmail.com>
In-Reply-To <CABicbJJz14bCEX0zg+pPojhn5D8kWT=xQGOWfqUS2FEf6NBusg@mail.gmail.com>
Content-Type multipart/alternative; boundary="------------040006050704090206080803"
X-Mailman-Approved-At Wed, 21 Jan 2015 09:20:03 +0100
Cc "comp.lang.python" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.17907.1421828404.18130.python-list@python.org> (permalink)
Lines 1115
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421828404 news.xs4all.nl 2865 [2001:888:2000:d::a6]:35853
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 150344101
X-Received-Bytes 81195
Xref csiph.com comp.lang.python:84108

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hash Table, Christiania
(a table with many kinds of hash)

On 1/20/2015 12:19 PM, Devin Jeanpierre wrote:
> There are similarly many kinds of hash tables.
>
> For a given use case (e.g. a sorted dict, or a list with efficient
> removal, etc.), there's a few data structures that make sense, and a
> library (even the standard library) doesn't have to expose which one
> was picked as long as the performance is good.
>
> -- Devin
>
> On Tue, Jan 20, 2015 at 12:15 PM, Ken Seehart <ken@seehart.com> wrote:
>> Exactly. There are over 23,000 different kinds of trees. There's no way you
>> could get all of them to fit in a library, especially a standard one.
>> Instead, we prefer to provide people with the tools they need to grow their
>> own trees.
>>
>> http://caseytrees.org/programs/planting/ctp/
>> http://www.ncsu.edu/project/treesofstrength/treefact.htm
>> http://en.wikipedia.org/wiki/Tree
>>
>> On 1/19/2015 3:01 PM, Mark Lawrence wrote:
>>> On 19/01/2015 22:06, Zachary Gilmartin wrote:
>>>> Why aren't there trees in the python standard library?
>>>>
>>> Probably because you'd never get agreement as to which specific tree and
>>> which specific implementation was the most suitable for inclusion.
>>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Trees Ken Seehart <ken@seehart.com> - 2015-01-20 12:45 -0800

csiph-web