Skip to content

Conversation

@jfmengels
Copy link
Owner

No description provided.

else
List.any
expressionContainsAnyVariableInIgnoring bindingsToCheckFor subToIgnore caseOf.expression
|| List.any
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there isn't actually optimizable recursion in the else branch, we might as well use ||.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could check for cases first then to keep a bit of TCO but doesn't really matter

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, it probably doesn't matter too much 🤷‍♂️

@jfmengels jfmengels merged commit d781783 into main Dec 27, 2025
4 checks passed
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.

3 participants