stevenhalim / cpbook-code

CP4 Free Source Code Project (C++17, Java11, Python3 and OCaml)
2.03k stars 488 forks source link

Bit manip danger #104

Open wishfulwatermelon opened 1 year ago

wishfulwatermelon commented 1 year ago

from discord:

(what if j is something like a&b. Admittedly unlikely) better to write (j) there, or even better just use a function (compilers these days good at inlining)