Skip to content

Commit

Permalink
Default enable lazy initialization for bind expressions.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 596121076
  • Loading branch information
jnthntatum authored and copybara-github committed Jan 8, 2024
1 parent 96a2a9e commit 35e45b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 35e45b7

Please # to comment.