mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
perf: reserve in extend_sorted_vec (#21109)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user