mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
e84e100f06
Summary: `extern crate` is usually no longer needed in 2018 edition of Rust. This diff removes `extern crate` lines from fbcode where possible, replacing #[macro_use] with individual import of macros. Before: ``` #[macro_use] extern crate futures_ext; extern crate serde_json; ``` After: ``` use futures_ext::try_boxfuture; ``` Reviewed By: Imxset21 Differential Revision: D17313537 fbshipit-source-id: 70462a2c161375017b77fa44aba166884ad2fdc3 |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml | ||
README.md |
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.