Remix.run Logo
gblargg 3 hours ago

Assuming compilers are smart enough to insert an unnecessary branch to break the dependency.

vitally3643 18 minutes ago | parent [-]

That's what the hints are for. Expect/likely/unlikely are the programmer informing the compiler what it should expect and how it should optimize