sapling/eden/scm/lib/radixbuf
Jun Wu bd0a35f2a0 revlogindex: do not raise errors on ambiguous prefix
Summary: This matches the interface of segmented changelog.

Reviewed By: sfilipco

Differential Revision: D21944134

fbshipit-source-id: 75f68b2838de4abe95f13cb3c62dc68af132fff7
2020-07-06 15:50:58 -07:00
..
benches Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
src revlogindex: do not raise errors on ambiguous prefix 2020-07-06 15:50:58 -07:00
Cargo.toml Switch from failure::Fail trait to std::error::Error for errors 2019-11-22 08:53:31 -08:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -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.