Skip to content

Conversation

@SashaMalysehko
Copy link
Contributor

Reason for changes: Previously, root_public_values_digest built a Vec for a fixed-size input, which caused an unnecessary heap allocation for every call.
Summary of changes: Replaced the temporary Vec with a fixed-size stack array and filled it directly before hashing, eliminating the extra allocation.

@eigmax eigmax force-pushed the main branch 4 times, most recently from 486cfe8 to ce11d49 Compare January 26, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant