Skip to content

Comments

Convert (x - c) >= 0 to x >= c#70

Open
hungptit wants to merge 4 commits intopllk:masterfrom
hungptit:master
Open

Convert (x - c) >= 0 to x >= c#70
hungptit wants to merge 4 commits intopllk:masterfrom
hungptit:master

Conversation

@hungptit
Copy link

This is a very minor change. Basically, x >= c will be slightly faster than (x - c) >= 0 (https://godbolt.org/z/cB0bJm)

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