mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 08:55:53 +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:
@@ -447,6 +447,7 @@ target_sources (rippled PRIVATE
|
||||
src/ripple/basics/impl/UptimeClock.cpp
|
||||
src/ripple/basics/impl/make_SSLContext.cpp
|
||||
src/ripple/basics/impl/mulDiv.cpp
|
||||
src/ripple/basics/impl/partitioned_unordered_map.cpp
|
||||
#[===============================[
|
||||
main sources:
|
||||
subdir: conditions
|
||||
@@ -483,7 +484,6 @@ target_sources (rippled PRIVATE
|
||||
src/ripple/ledger/impl/ApplyViewBase.cpp
|
||||
src/ripple/ledger/impl/ApplyViewImpl.cpp
|
||||
src/ripple/ledger/impl/BookDirs.cpp
|
||||
src/ripple/ledger/impl/CachedSLEs.cpp
|
||||
src/ripple/ledger/impl/CachedView.cpp
|
||||
src/ripple/ledger/impl/Directory.cpp
|
||||
src/ripple/ledger/impl/OpenView.cpp
|
||||
|
||||
Reference in New Issue
Block a user