sapling/lib/radixbuf
Xavier Deguillard a85ba47d9b radixbuf: replace error-chain with failure
Summary:
The former is no longer maintained and throws warnings with recent rust
versions.

Reviewed By: singhsrb

Differential Revision: D15109706

fbshipit-source-id: 94479cdedf42c4dd99e35fa8e337d2fc73f74eb5
2019-04-29 15:36:02 -07:00
..
benches indexedlog: normalize benchmarks to use 204800 entries 2019-03-27 16:29:58 -07:00
src radixbuf: replace error-chain with failure 2019-04-29 15:36:02 -07:00
Cargo.toml radixbuf: replace error-chain with failure 2019-04-29 15:36:02 -07:00
README.md fb-hgext: integrate rust libraries and extensions with setup.py 2018-01-08 15:26:24 -08:00

radixbuf

Radix tree based on plain buffers.

There are 2 plain buffers:

  • Radix buffer: One or more radix trees mapping keys to their IDs. Read and write by the library.
  • Key buffer: The source of truth of full keys. Read by the library, write by the application.

An ID of a key could be an offset, or other meaningful numbers understood by the function reading a key.