Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Optimize google::api::expr::Unparse by removing unnecessary map copying.#1798

Merged
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_839458063cel-expr/cel-cpp:test_839458063Copy head branch name to clipboard
Dec 3, 2025
Merged

Optimize google::api::expr::Unparse by removing unnecessary map copying.#1798
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_839458063cel-expr/cel-cpp:test_839458063Copy head branch name to clipboard

Conversation

@copybara-service

Copy link
Copy Markdown

Optimize google::api::expr::Unparse by removing unnecessary map copying.

auto var = FunctionReturningConstRef(); causes a copy while const auto& var = FunctionReturningConstRef(); does not cause any copies. Example: https://godbolt.org/z/37hETqc3q

@copybara-service copybara-service Bot force-pushed the test_839458063 branch 2 times, most recently from 6247c54 to 1e8cd68 Compare December 3, 2025 10:18
…ying.

`auto var = FunctionReturningConstRef();` causes a copy while `const auto& var = FunctionReturningConstRef();` does not cause any copies. Example: https://godbolt.org/z/37hETqc3q

PiperOrigin-RevId: 839669874
@copybara-service copybara-service Bot merged commit 4eef486 into master Dec 3, 2025
@copybara-service copybara-service Bot deleted the test_839458063 branch December 3, 2025 10:52
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.