-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
likely/unlikely for if () #1342
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
Comments
I'd proposed this in #489, with |
|
I think I actually like the wordy ones better because it is in no way clear
what if+ is supposed to do imo.
Op di 7 aug. 2018 01:05 schreef Shawn Landden <[email protected]>:
… if+ and if- is nice, especially as it corresponds to "closing" and
"expanding" symbols. Closing
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1342 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL-sGicMvV22ad4qDV2jBsu85JyPL9m4ks5uOMu1gaJpZM4VxN-->
.
|
However "likely" and "unlikely" are in the wrong place here. They need to be the same as adding "comptime" to an expression |
@BarabasGitHub: if |
yeah but |
like in linux https://github.com/torvalds/linux/blob/master/include/linux/compiler.h#L39
The text was updated successfully, but these errors were encountered: