r/programming • • Aug 22 '26

The unlikely Linux macro

https://rushed-reflections.bearblog.dev/an-unlikely-experiment/

Wrote a bit about the `unlikely` and `likely` macros in the Linux codebase. Great little exploration into tiny optimizations that everyone should know more about 😄

191 Upvotes

61 comments sorted by

View all comments

1

u/mr_birkenblatt Aug 25 '26

Why not compare to the baseline of no hinting at all?