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


Groups > comp.lang.python > #84058

Re: Trees

References <CAG=hEY1L-39EmuWpdEh_n-BNfs=qG9nL=MrMT0ar72yGBrkoUA@mail.gmail.com> <CAGGBd_pMdYZwt-ksdSpDFNVxXwkekGsJFi=2C66PStTFzS0R+w@mail.gmail.com> <m9kfhe$vh$1@ger.gmane.org> <CAGGBd_rPSxSK1HCkdmwzu5MS_bBtA9X+hgx6VHKsvWYiAG9AOg@mail.gmail.com>
Date 2015-01-19 23:49 -0500
Subject Re: Trees
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.17883.1421729372.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

On Mon, Jan 19, 2015 at 11:21 PM, Dan Stromberg <drsalists@gmail.com> wrote:

> On Mon, Jan 19, 2015 at 6:46 PM, Mark Lawrence <breamoreboy@yahoo.co.uk>
> wrote:
> > On 20/01/2015 00:49, Dan Stromberg wrote:
> >>
>

apropos of nothing, I went to stonybrook too. beee 1978



> >> On Mon, Jan 19, 2015 at 2:06 PM, Zachary Gilmartin
> >> <zacharygilmartin@gmail.com> wrote:
> >>>
> >>> Why aren't there trees in the python standard library?
> >>
> >>
> >> Trees are kind of specialized datastructures; no one type of tree
> >> solves all tree-related problems suitably well.
> >>
> >> I think probably the most common need for a tree is implementing a
> >> cache, but most times you're tempted to sort inside a loop you're
> >> better off with a tree.
> >>
> >> I've put some time into python trees; most of them are on pypi and at:
> >> http://stromberg.dnsalias.org/~dstromberg/datastructures/
> >> and:
> >>
> http://stromberg.dnsalias.org/~strombrg/python-tree-and-heap-comparison/
> >>
> >> HTH
> >>
> >
> > I don't know if you've seen this http://kmike.ru/python-data-structures/
> but
> > maybe of interest.
>
> I've seen it. It's a nice page.
>
> I attempted to get my treap port in there since it has a Cython
> version, but it didn't seem to take.
>
> I've mostly focused on pure python that runs on CPython 2.x, CPython
> 3.x, Pypy, Pypy3 and Jython.
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Re: Trees Joel Goldstick <joel.goldstick@gmail.com> - 2015-01-19 23:49 -0500

csiph-web