mars9 / llrb

Package llrb implements an immutable Left-Leaning Red-Black (LLRB) balanced binary search tree.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LLRB GoDoc

Package llrb implements an immutable Left-Leaning Red-Black tree as described by Robert Sedgewick. More details relating to the implementation are available at the following locations:

The immutable version of the llrb tree is obviously going to be slower than the mutable version but should offer higher read availability. Immutability is achieved by branch copying.

About

Package llrb implements an immutable Left-Leaning Red-Black (LLRB) balanced binary search tree.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%