mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
ce3f0fcc235f5503d78fbcfdf88f00267837fede
The primary change introduced in this commit is partitioning of the `TaggedCache`, with each partition being indepedent of each other, making it possible to potentially perform multiple cache operations in parallel. In particular, the `sweep` operation is now parallelized by default on systems with at least four cores present. The `TaggedCache` could also be instantiated in 'key-only' mode which complicated the interface significantly but was only used by a single consumer (the `FullBelowCache`). This commit splits the 'key-only' functionality of `TaggedCache`, and incorporates directly into `FullBelowCache`, resulting in simple and cleaner interfaces for both `TaggedCache` and `FullBelowCache` but at a cost: some code duplication. Lastly, this commit includes a medley of changes, including the restructuring of `Transaction`, reducing its size by 48 bytes.
The Xahau Ledger
TODO: Doco
Description
Languages
C++
98.4%
C
0.9%
CMake
0.4%
Shell
0.2%