skip to navigation
skip to content

Not Logged In

splay_mod 1.11

Pure Python splay tree nodule

A pure python 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.7b1.

This splay tree looks like a dictionary that's always sorted by key. It also reorganizes itself on every get and put, to optimize subsequent operations on the same key. For this reason, splay trees are frequently used for caches.

 
File Type Py Version Uploaded on Size
splay_mod-1.11.tar.gz (md5) Source 2013-12-31 4KB
  • Downloads (All Versions):
  • 5 downloads in the last day
  • 35 downloads in the last week
  • 219 downloads in the last month