Flexible python implementation of red black trees
Project Links
Meta
Author: Duncan G. Smith, Daniel Richard Stromberg
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Programming Language
- Python :: 2
- Python :: 3
A pair of python modules implementing red black trees is provided.
Red-black trees are a little slower than treaps (some question this), but they give a nice low standard deviation in operation times, and this code is rather flexible.
A module is provided for red black trees that enforce uniqueness. They allow for set-like use and dictionary-like use.
This code is known to work on CPython 2.x, CPython 3.x, Pypy and Jython.
Much of the work here was done by Duncan G. Smith. Dan just put some finishing touches on it.
1.22
Dec 26, 2023
1.21
Dec 01, 2022
1.20
Nov 04, 2013
1.11
May 31, 2013
1.10
May 31, 2013
1.6
May 31, 2013
1.5
May 31, 2013
1.1
May 31, 2013
1.0
May 24, 2013
Files in release
No dependencies