llrb-index

Crates.iollrb-index
lib.rsllrb-index
version0.4.0
sourcesrc
created_at2019-02-15 08:59:59.913177
updated_at2020-10-17 10:46:26.186077
descriptionLeft Leaning Red Black index
homepagehttps://github.com/bnclabs/llrb-index
repositoryhttps://github.com/bnclabs/llrb-index
max_upload_size
id114933
size95,971
(prataprc)

documentation

https://docs.rs/llrb-index

README

Left Leaning Red Black Tree

Rustdoc Build Status License: AGPL v3

This package implements LLRB, Left Leaning Red Black, tree a popular data structured, with following features:

  • Self-balancing data structure.
  • Optimized for in-memory index.
  • Each entry in LLRB instance correspond to a {Key, Value} pair.
  • Parametrised over Key type and Value type.
  • CRUD operations, via create(), set(), get(), delete() API.
  • Read optimized.
  • Full table scan, to iterate over all entries.
  • Range scan, to iterate between a low and high.
  • Reverse iteration.

Note that this implementation of LLRB do not provide durability gaurantee and not thread safe.

Licensing

Default license for llrb-index is AGPL-3.0 license. For re-licensing this source, you can either contact the author(s) directly or post your request here #1.

Compatibility policy

llrb-index shall officially support the latest version of rust stable compiler and nightly builds.

Useful links

  • Refer to this Wikipedia link for more information on LLRB algorithm.
  • Discussion on the design choice over get() and range() API.
Commit count: 63

cargo fmt