HackerTrans
TopNewTrendsCommentsPastAskShowJobs

misev

78 karmajoined il y a 12 ans

Submissions

A personal recap of 2025: on running, LLMs, family, coffee, work

dimitarmisev.com
1 points·by misev·il y a 6 mois·0 comments

comments

misev
·il y a 3 heures·discuss
You could rewrite it to

    int* ptr = ((v != 0) * lwr) + ((v == 0) * rwr);
I doubt it would be faster than the ternary though.