We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After merging
numeric comparisons have become inefficient even with optimization, because they now go through Ord.cmp.
Ord.cmp
We're left with terms like
case if = high n then EQ else if < high n then LT else GT of { LT := true; EQ := false; GT := false }
We should optimize the above to high < n.
high < n
The text was updated successfully, but these errors were encountered:
Comparison optimization (#2443)
9e3e07d
* Closes #2440
lukaszcz
Successfully merging a pull request may close this issue.
After merging
numeric comparisons have become inefficient even with optimization, because they now go through
Ord.cmp
.We're left with terms like
We should optimize the above to
high < n
.The text was updated successfully, but these errors were encountered: