Hacker News new | ask | show | jobs
by dilyevsky 122 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).
1 comments

"You can" - in theory, or does this actually exist?
There’s a whole section on this on TFA: https://celbyexample.com/execution-cost/
With certain macros disabled like .map the runtime is O(code length)!