HackerTrans
TopNewTrendsCommentsPastAskShowJobs

misev

78 karmajoined 12 ปีที่แล้ว

Submissions

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

dimitarmisev.com
1 points·by misev·6 เดือนที่ผ่านมา·0 comments

comments

misev
·5 ชั่วโมงที่ผ่านมา·discuss
You could rewrite it to

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