exercise8 covers some useful features of CEL-Go which can be used to improve performance and better understand evaluation behavior. Turn on the optimization, exhaustive eval, and state tracking `cel.ProgramOption` flags to see the impact on evaluation behavior. Also, turn on the homogeneous aggreg
()
| 134 | // Also, turn on the homogeneous aggregate literals flag to disable |
| 135 | // heterogeneous list and map literals. |
| 136 | func exercise8() { |
| 137 | fmt.Println("=== Exercise 8: Tuning ===") |
| 138 | |
| 139 | fmt.Println() |
| 140 | } |
| 141 | |
| 142 | // Functions to assist with CEL execution. |
| 143 |