nimbus-eth1/nimbus/db/aristo/aristo_desc
Jacek Sieka 9d91191154
storage hike cache (#2484)
This PR adds a storage hike cache similar to the account hike cache
already present - this cache is less efficient because account storage
is already partically cached in the account ledger but nonetheless helps
keep hiking down.

Notably, there's an opportunity to optimise this cache and the others so
that they cooperate better insteado of overlapping, which is left for a
future PR.

This PR also fixes an O(N) memory usage for storage slots where the
delete would keep the full storage in a work list which on mainnet can
grow very large - the work list is replaced with a more conventional
recursive `O(log N)` approach.
2024-07-14 19:12:10 +02:00
..
desc_backend.nim storage: store root id together with vid, for better locality of refe… (#2449) 2024-07-04 15:46:52 +02:00
desc_error.nim merge: avoid hike allocations (#2472) 2024-07-11 13:26:46 +02:00
desc_identifiers.nim storage: store root id together with vid, for better locality of refe… (#2449) 2024-07-04 15:46:52 +02:00
desc_nibbles.nim merge: avoid hike allocations (#2472) 2024-07-11 13:26:46 +02:00
desc_structural.nim storage hike cache (#2484) 2024-07-14 19:12:10 +02:00