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
In the above hot loop, the four conditionals within the hot loop have their condition pre-evaluated outside, only the value determined within.
There are two things to wonder:
since the loop indices are runtime-known, would the compiler be able recognize it as a hot loop and just expand the above "loop of cases" into "cases of loops"?
suppose the compiler keeps the loop branch structure as-is, how much do the const pre-declarations help out the branch predictor?
The text was updated successfully, but these errors were encountered:
In the above hot loop, the four conditionals within the hot loop have their condition pre-evaluated outside, only the value determined within.
There are two things to wonder:
The text was updated successfully, but these errors were encountered: