Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix for slot calculation for block expressions. #1059

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 1 commit into from
Nov 9, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Nov 9, 2024

Fix for slot calculation for block expressions.

With this change, all comprehension variables inside cel.@block are assigned to a dedicated slot. It's hard to identify when they can be safely reused with lazy evaluation and likely doesn't provide enough benefit to try to reuse them more aggressively.

@copybara-service copybara-service bot force-pushed the test_694696083 branch 2 times, most recently from 9b0b9eb to 44a4208 Compare November 9, 2024 02:32
With this change, all comprehension variables inside cel.@block are assigned to a dedicated slot. It's hard to identify when they can be safely reused with lazy evaluation and likely doesn't provide enough benefit to try to reuse them more aggressively.

PiperOrigin-RevId: 694717283
@copybara-service copybara-service bot merged commit c4f9b58 into master Nov 9, 2024
@copybara-service copybara-service bot deleted the test_694696083 branch November 9, 2024 02:44
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