Skip to content

perf(primitives): remove unnecessary keccak cache length hash computation - #1065

Merged
DaniPopes merged 3 commits into
mainfrom
dani/perf-keccak-cache
Jan 27, 2026
Merged

DaniPopes merged 3 commits into
mainfrom
dani/perf-keccak-cache

Conversation

@DaniPopes

Copy link
Copy Markdown
Member

The hasher always overwrites the hash value in self.0 so hashing the length prefix did exactly nothing.

@DaniPopes
DaniPopes enabled auto-merge (squash) January 27, 2026 23:23
@DaniPopes
DaniPopes requested review from a team, Rjected, onbjerg and shekhirin January 27, 2026 23:24
@DaniPopes
DaniPopes merged commit aeca3ba into main Jan 27, 2026
@DaniPopes
DaniPopes deleted the dani/perf-keccak-cache branch January 27, 2026 23:48
@github-project-automation github-project-automation Bot moved this to Done in Alloy Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants