Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional type cost handlers #1105

Open
TristonianJones opened this issue Jan 13, 2025 · 0 comments
Open

Optional type cost handlers #1105

TristonianJones opened this issue Jan 13, 2025 · 0 comments

Comments

@TristonianJones
Copy link
Collaborator

The cost estimation and runtime cost tracking accounts for standard library
functions and a handful of extension functions; however, the optional types
which use special cased short-circuiting and custom selection / indexing
methods are not properly observed by either the check-time or runtime
components.

The first step is to introduce cost estimation extensions into a future iteration
of the cel.OptionalTypes() library; however, this is not quite enough given
the internal features of hint-path generation and entry size estimation which
happen during the check pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant