Trees

Joshua Landau joshua at landau.ws
Tue Jan 20 20:22:06 EST 2015


On 20 January 2015 at 04:21, Dan Stromberg <drsalists at gmail.com> wrote:
> On Mon, Jan 19, 2015 at 6:46 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>>
>> 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.

http://www.grantjenks.com/docs/sortedcontainers/

SortedContainers is seriously great stuff; faster and lower memory
than the Cython variants yet pure Python and more featureful.



More information about the Python-list mailing list