-
Notifications
You must be signed in to change notification settings - Fork 972
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
feat(header): cache hash #3975
feat(header): cache hash #3975
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I carefully reviewed this again and realized that we actually don't need this change.
Here we check that the result of local hashing is equal to what we have in the commit already. So when we return from commit we know its something we computed ourselves. Therefore, we keep returning hash from the commit and there is no need to add recompute value and synchronization around it.
Closing as not needed (see Hlib's review comment) |
Closes #2959 and Closes #3189