ppom

Crates.ioppom
lib.rsppom
version0.7.0
sourcesrc
created_at2021-01-13 16:53:53.115439
updated_at2021-09-17 17:25:17.807593
descriptionLeft Leaning Red Black index in Rust-lang
homepage
repositoryhttps://github.com/bnclabs/ppom
max_upload_size
id341440
size162,301
(prataprc)

documentation

https://docs.rs/ppom

README

Documentation

Persistent Ordered Map

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

  • Self-balancing data structure.
  • Each entry in OMap instance correspond to a {Key, Value} pair.
  • Parametrised over key-type and value-type.
  • CRUD operations, via set(), get(), remove() api.
  • Full table scan, to iterate over all entries.
  • Range scan, to iterate between a low and high.
  • Reverse iteration.
  • Uses ownership model and borrow semantics to ensure safety.
  • Optimized for in-memory index.
  • Read optimized.

Refer to rustdoc for details.

Note that, this project is a continuation of llrb-index which originally implemented an ephemeral OMap, which is now available here as ppom::OMap.

Useful links

Contribution

  • Simple workflow. Fork - Modify - Pull request.
  • Before creating a PR,
    • Run make build to confirm all versions of build is passing with 0 warnings and 0 errors.
    • Run check.sh with 0 warnings, 0 errors and all testcases passing.
    • Run perf.sh with 0 warnings, 0 errors and all testcases passing.
    • [Install][spellcheck] and run cargo spellcheck to remove common spelling mistakes.
  • Developer certificate of origin is preferred.
Commit count: 60

cargo fmt