-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
chore: merge multi hash.update #14325
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
Conversation
For maintainers only:
|
@shfshanyue The most important CI builds failed. This way your PR can't be merged. Please take a look at the CI results from azure (0 errors / 4 warnings) and appveyor (failure) and fix these issues. |
Hi @shfshanyue. Just a little hint from a friendly bot about the best practice when submitting pull requests:
You don't have to change it for this PR, just make sure to follow this hint the next time you submit a PR. |
Why? |
Performance. Batch update is more efficient than executing the function multiple times |
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.
Good idea, but we want to avoid allocating arrays as hash.update will already combine strings by using an array
Thanks |
What kind of change does this PR introduce?
performance
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
no
What needs to be documented once your changes are merged?
no