-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid redundant allocations in blob verification #6282
Avoid redundant allocations in blob verification #6282
Conversation
@mergify queue |
🛑 The pull request has been removed from the queue
|
@mergify requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 56d1c8c |
* Avoid redundant allocations in blob verification
* Avoid redundant allocations in blob verification
Proposed Changes
Micro-optimisations to allocate 1 vec instead of 2 during KZG blob verification, and removal of an unnecessary
clone
.Additional Info
I haven't benchmarked this optimisation but I think it's low-risk and pretty much a no-brainer