A personal recap of 2025: on running, LLMs, family, coffee, workdimitarmisev.com1 points·by misev·6 maanden geleden·0 comments
misev·5 uur geleden·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.