Skip to content

Optimizations #100

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

Merged
merged 2 commits into from
Aug 1, 2020
Merged

Optimizations #100

merged 2 commits into from
Aug 1, 2020

Conversation

marcomagdy
Copy link
Contributor

@marcomagdy marcomagdy commented Jul 30, 2020

Avoid copying the result of the 'outcome' class.

Adding rvalue ref-qualifiers to the 'outcome' class getters enables
moving out the result instead of copying it. In this case, we can avoid
copying the request payload.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Adding rvalue ref-qualifiers to the 'outcome' class getters enables
moving out the result instead of copying it. In this case, we can avoid
copying the request payload.
static inline makes no sense in a header file.
@marcomagdy marcomagdy marked this pull request as ready for review July 30, 2020 18:18
@marcomagdy marcomagdy requested a review from bmoffatt July 30, 2020 18:18
Copy link

@dislogical dislogical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know you didn't ask for my review but I'm gonna approve this anyway 👍

@marcomagdy marcomagdy merged commit 57d9f29 into master Aug 1, 2020
@marcomagdy marcomagdy deleted the optimizations branch August 1, 2020 21:11
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.

2 participants