Expand description
Data structures with delta entries that enables quick unstage of the recent
changes. Implementation-wise, the data structures keeps a delta structure that
records the additional changes on the base structure. Take the HashMap for
example, the user can call DeltaHashMap::commit to merge the additional
changes into the base map. However, if the user is unsatisfied with the result
of the specific layer of operation, the changes that happens after the layer can
be discarded on demand by calling DeltaHashMap::unstage.
See DeltaHashMap::commit, DeltaHashMap::unstage and DeltaHashMap::cocommit
for more information.
Modules§
Structs§
- Delta
Hash Map - A hashmap with delta entries. A change will eventually be committed from
deltadown tobaseby callingSelf::commit. If the user is unsatisfied with the result of a specific layer of operation, the changes that happens after the layer can be discarded on demand by callingSelf::unstage.