Expand description
HashMap-based storage backend — drop-in replacement for the redb *Table layer.
§Architecture
Repository (unchanged)
└─ Box<dyn BlockTable>
├─ BlockRedbTable — old (serialize → B-tree → deserialize)
└─ BlockHashMapTable — new (HashMap::get → clone)The store uses RwLock for interior mutability and thread safety,
allowing &HashMapStore to be shared across threads via Arc.
Structs§
- Hash
MapStore - All document data, held in plain
HashMaps behindRefCellfor interior mutability. One instance perDbContext, shared by all tables within a transaction scope via&HashMapStore. - Hash
MapStore Snapshot - Owned deep copy of the entire store, used for savepoints.