Skip to content

Optimize compare and equal functions #238

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

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

fhammerschmidt
Copy link
Member

@fhammerschmidt fhammerschmidt commented Jul 1, 2024

As you can see in the test output mjs files, the equality check is directly optimized into a bool literal.

@fhammerschmidt fhammerschmidt force-pushed the optimize-compare-equal branch from 4e3b314 to bce32f3 Compare July 1, 2024 14:41
@cknitt cknitt requested a review from zth July 1, 2024 15:10
@zth zth merged commit 22642ea into rescript-lang:main Jul 1, 2024
6 checks passed
@fhammerschmidt fhammerschmidt deleted the optimize-compare-equal branch August 27, 2024 15:18
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