Mention scapegoat as index alternative
parent
e70be2c638
commit
a3635a465f
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue