Mention scapegoat as index alternative

main
~erin 2023-04-20 17:29:05 -04:00
parent e70be2c638
commit a3635a465f
Signed by untrusted user: erin
GPG Key ID: 9A8E308CEFA37A47
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ will be determined via [capabilities](/development/design/actor.md#ocap)
Created in-memory on startup, modified directly whenever the filesystem is modified. Created in-memory on startup, modified directly whenever the filesystem is modified.
It's saved in the *Index Sector* (which is at a known offset), allowing it to be read in easily on boot. It's saved in the *Index Sector* (which is at a known offset), allowing it to be read in easily on boot.
The index is simply an `alloc::` [BTreeMap](https://doc.rust-lang.org/stable/alloc/collections/btree_map/struct.BTreeMap.html). The index is simply an `alloc::` [BTreeMap](https://doc.rust-lang.org/stable/alloc/collections/btree_map/struct.BTreeMap.html). *(If not, try [scapegoat](https://lib.rs/crates/scapegoat))*.
We also have a simple `Vec` of the chunks that are free, which we modify in reverse. We also have a simple `Vec` of the chunks that are free, which we modify in reverse.