Skip to main content

A pure python scapegoat splay tree class is provided. It is thoroughly unit tested, passes pylint, and is known to run on CPython 2.x, CPython 3.x, Pypy 2.2 and Jython 2.7b2.

This scapegoat tree looks like a dictionary that’s always sorted by key. It also reorganizes itself on every put.

Perhaps the most interesting thing about a scapegoat tree, is it is balanced even for ordered keys, without any storage overhead (unlike treaps and red-black trees).

Metadata

Release files for scapegoat_mod 1.0

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

Source distribution (sdist)

Source distribution for scapegoat_mod 1.0
File Size Uploaded
scapegoat_mod-1.0.tar.gz 14.5 kB Details

Release files / scapegoat_mod-1.0.tar.gz

Download URL scapegoat_mod-1.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e8cc35061ba880e239d2eeb3ee50177f1262e0bfd3d22bdd07f150fb0848abf3
BLAKE2b-256 checksum
How to use checksums
450771f04baa56b2559032e555760c956c443f71690799dd0dca446313d51244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

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