backwards iteration

Added `DescendRange`, `DescendLessOrEqual`, `DescendGreaterThan`,
and `Descend` functions. These are modeled after the existing
`Ascend..` methods.
2 files changed
tree: 60ba2ed86d154242f75aeb103c69b5a3028b9515
  1. .travis.yml
  2. btree.go
  3. btree_mem.go
  4. btree_test.go
  5. LICENSE
  6. README.md
README.md

BTree implementation for Go

Travis CI Build Status

This package provides an in-memory B-Tree implementation for Go, useful as an ordered, mutable data structure.

The API is based off of the wonderful http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to act as a drop-in replacement for gollrb trees.

See http://godoc.org/github.com/google/btree for documentation.