You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but just another thing I remembered: if you're doing an or check for consecutive values of thing like 12, 13, 14, gcc will optimize it as (thing - 12 < 3U)
if (thing - 12 < 3U) expands to if (thing == 12 || thing == 13 || thing == 14). Although they're both equivalent, usually the latter is more natural for smallish numbers of cases.
The text was updated successfully, but these errors were encountered:
From @ethteck
if (thing - 12 < 3U)
expands toif (thing == 12 || thing == 13 || thing == 14)
. Although they're both equivalent, usually the latter is more natural for smallish numbers of cases.The text was updated successfully, but these errors were encountered: