mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Introduce partitioned unordered maps:
This commit implements partitioned unordered maps and makes it possible to traverse such a map in parallel, allowing for more efficient use of CPU resources. The `CachedSLEs`, `TaggedCache`, and `KeyCache` classes make use of the new functionality, which should improve performance.
This commit is contained in:
@@ -919,7 +919,7 @@ struct Peer
|
||||
start()
|
||||
{
|
||||
// TODO: Expire validations less frequently?
|
||||
validations.expire();
|
||||
validations.expire(j);
|
||||
scheduler.in(parms().ledgerGRANULARITY, [&]() { timerEntry(); });
|
||||
startRound();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user