Compare commits

...

1 Commits

Author SHA1 Message Date
Arsenii Kulikov
36bc20ca92 perf: decrease sparse trie task updates batch size 2026-03-10 13:31:25 +01:00

View File

@@ -36,7 +36,7 @@ use revm_primitives::{hash_map::Entry, B256Map};
use tracing::{debug, debug_span, error, instrument, trace_span};
/// Maximum number of pending/prewarm updates that we accumulate in memory before actually applying.
const MAX_PENDING_UPDATES: usize = 100;
const MAX_PENDING_UPDATES: usize = 50;
/// Sparse trie task implementation that uses in-memory sparse trie data to schedule proof fetching.
pub(super) struct SparseTrieCacheTask<A = ParallelSparseTrie, S = ParallelSparseTrie> {