-
Notifications
You must be signed in to change notification settings - Fork 537
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
Optimization: clientStreamInit() copied ClientStreamData #1801
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.
Please apply applicable #1797 concerns to this PR. Please do not post new PRs adding std::move wrappers until the affected PRs land.
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.
Thank you for optimizing this code. I am approving this PR after adjusting PR title/description and addressing Amos concerns, but I think we should do one more (similar) change in this PR.
@yadij your concerns should have been addressed. Mind re-reviewing here? Thanks! |
Detected by Coverity. CID 1529543 and CID 1529594: Unnecessary object copies can affect performance (COPY_INSTEAD_OF_MOVE).
…#1801) Detected by Coverity. CID 1529543 and CID 1529594: Unnecessary object copies can affect performance (COPY_INSTEAD_OF_MOVE).
Detected by Coverity. CID 1529543 and CID 1529594: Unnecessary object
copies can affect performance (COPY_INSTEAD_OF_MOVE).