Skip to main content

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.

Metadata

Release files for red-black-tree-mod 1.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for red-black-tree-mod 1.22
File Size Uploaded
red-black-tree-mod-1.22.tar.gz 34.2 kB Details

Release files / red-black-tree-mod-1.22.tar.gz

Download URL red-black-tree-mod-1.22.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
38e3652903a2bf96379c27c2082ca0b7b905158662dd7ef0c97f4fd93a9aa908
BLAKE2b-256 checksum
How to use checksums
4875bfa342a2ebfc9623b701f1c6995b9906fd6dd2cedf6bce777d09e23303ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.22 This release

1 release file

1.21

1 release file

1.20

1 release file

1.11

1 release file

1.10

1 release file

1.06

1 release file

1.05

1 release file

1.01

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page