Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bjourne
· 3y ago · 0 comments
You can find out for yourself using the Compiler Explorer (godbolt):
https://godbolt.org/z/qrYGzMjWd
Looks to me as if If is more efficient here.
Comments
[–]
avithedev
3y ago
Thank you