HackerTrans
トップ新着トレンドコメント過去質問紹介求人

misev

78 カルマ登録 12 年前

投稿

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

dimitarmisev.com
1 ポイント·投稿者 misev·6 か月前·0 コメント

コメント

misev
·4 時間前·議論
You could rewrite it to

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