2 ms·
The elegant solution has two instructions less, but they are outside the loop. The performance difference is most likely minimal, no branch is eliminated. http
by cNHciFHqCmd 6y ago
The elegant solution has two instructions less, but they are outside the loop. The performance difference is most likely minimal, no branch is eliminated.
https://c.godbolt.org/z/fdh461 https://c.godbolt.org/z/fdh461