3 ms·
You can find out for yourself using the Compiler Explorer (godbolt): https://godbolt.org/z/qrYGzMjWd https://godbolt.org/z/qrYGzMjWd Looks to me as if If is mor
by bjourne 3y ago
You can find out for yourself using the Compiler Explorer (godbolt): https://godbolt.org/z/qrYGzMjWd https://godbolt.org/z/qrYGzMjWd Looks to me as if If is more efficient here.
- avithedev 3y agoThank you