top | item 47064578 (no title) dilyevsky | 11 days ago You can estimate cost of CEL program using static analysis before running it. "estimate" only because size of runtime data is generally unknown (but obv you could limit that). discuss order hn newest IshKebab|11 days ago "You can" - in theory, or does this actually exist? dilyevsky|11 days ago https://pkg.go.dev/github.com/google/cel-go/cel#Env.Estimate... akshayshah|11 days ago There’s a whole section on this on TFA: https://celbyexample.com/execution-cost/ AlecBG|11 days ago With certain macros disabled like .map the runtime is O(code length)!
IshKebab|11 days ago "You can" - in theory, or does this actually exist? dilyevsky|11 days ago https://pkg.go.dev/github.com/google/cel-go/cel#Env.Estimate... akshayshah|11 days ago There’s a whole section on this on TFA: https://celbyexample.com/execution-cost/ AlecBG|11 days ago With certain macros disabled like .map the runtime is O(code length)!
akshayshah|11 days ago There’s a whole section on this on TFA: https://celbyexample.com/execution-cost/
IshKebab|11 days ago
dilyevsky|11 days ago
akshayshah|11 days ago
AlecBG|11 days ago