Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Default enable lazy initialization for bind expressions. #526

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eval/public/cel_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ struct InterpreterOptions {
// never used in the result subexpression of the cel.bind() macro. This allows
// for consistent behavior for CEL compiler optimized expressions that extract
// subexpressions to cel.bind calls.
bool enable_lazy_bind_initialization = false;
bool enable_lazy_bind_initialization = true;
};
// LINT.ThenChange(//depot/google3/runtime/runtime_options.h)

Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct RuntimeOptions {
// never used in the result subexpression of the cel.bind() macro. This allows
// for consistent behavior for CEL compiler optimized expressions that extract
// subexpressions to cel.bind calls.
bool enable_lazy_bind_initialization = false;
bool enable_lazy_bind_initialization = true;
};
// LINT.ThenChange(//depot/google3/eval/public/cel_options.h)

Expand Down