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

Estimate costs for list and string concatination and conditionals #487

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

jpbetz
Copy link
Collaborator

@jpbetz jpbetz commented Feb 18, 2022

This tracks the estimated size ranges of _+_ (for list, bytes, string) and _?_:_ so that the cost estimates can be computed for cases like:

([1, 2, 3] + list]).all(x, x > 2)
("x" + str).contains("xyz" + str2)
(x ? [1, 2, 3] : list]).all(x, x > 2)

@TristonianJones TristonianJones merged commit 2e6ebf5 into google:master Feb 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants