Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
misev
· 4mo ago · 0 comments
You could rewrite it to
int* ptr = ((v != 0) * lwr) + ((v == 0) * rwr);
I doubt it would be faster than the ternary though.
Comments
No comments yet.
Better HN