Hacker News
new
past
comments
ask
show
jobs
points
by
IshKebab
6 hours ago
|
comments
by
dilyevsky
5 hours 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).
reply
by
IshKebab
3 hours ago
|
parent
|
[-]
"You can" - in theory, or does this actually exist?
reply
by
AlecBG
1 hours ago
|
parent
|
next
[-]
With certain macros disabled like .map the runtime is O(code length)!
reply
by
dilyevsky
3 hours ago
|
parent
|
prev
|
[-]
https://pkg.go.dev/github.com/google/cel-go/cel#Env.Estimate...
reply