Skip to content

Always memoize assert #11686

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

Closed
wants to merge 1 commit into from
Closed

Conversation

iluuu1994
Copy link
Member

As mentioned in #11632, I think this is the better option because it avoids double-compilation of any potential expression. It our expressions happen to not be idempotent compilation will fail. Unfortunately the branches are duplicated, we should be able to avoid that by moving the bool runtime_resolution = ... block.

@iluuu1994 iluuu1994 closed this in b1b7c61 Jul 12, 2023
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.

1 participant