A personal recap of 2025: on running, LLMs, family, coffee, workdimitarmisev.com1 points·by misev·vor 6 Monaten·0 comments
misev·vor 2 Stunden·discussYou could rewrite it to int* ptr = ((v != 0) * lwr) + ((v == 0) * rwr); I doubt it would be faster than the ternary though.
I doubt it would be faster than the ternary though.