Standard way to supply hints to branches
Walter Bright
newshound2 at digitalmars.com
Sun Sep 1 00:36:12 UTC 2024
On 8/31/2024 5:34 PM, Walter Bright wrote:
> It's the obvious consequence of laying out the code in the same order as the
> programmer laid it out. AFAIK every compiler does this by default.
Also the consequence of the "forward branch not taken" is assumed to be the hot
one by the CPU, and the "backwards branch taken" is also assumed to be the hot one.
More information about the Digitalmars-d
mailing list