Skip to content

Conversation

@copybara-service
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.

2 participants