perf: optimize canonical_hashes_range with Vec::with_capacity pre-allocation + benchmark (#18072)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
malik
2025-09-10 08:36:51 +01:00
committed by GitHub
parent fe236cd571
commit a3aaccd34a
4 changed files with 111 additions and 3 deletions

1
Cargo.lock generated
View File

@@ -7330,6 +7330,7 @@ dependencies = [
"alloy-primitives",
"alloy-signer",
"alloy-signer-local",
"codspeed-criterion-compat",
"derive_more",
"metrics",
"parking_lot",