diff --git a/crates/trie/common/src/utils.rs b/crates/trie/common/src/utils.rs index 7c1d454a6f..9ee876cada 100644 --- a/crates/trie/common/src/utils.rs +++ b/crates/trie/common/src/utils.rs @@ -40,6 +40,7 @@ where if other.is_empty() { return; } + target.reserve(other.len()); let mut other_iter = other.iter().peekable(); let initial_len = target.len();