37 ms·
> Generally speaking, an optimizing compiler is not going to introduce a branch (especially a data-dependent branch) where one doesn't exist in the code. You c
by pizlonator 3y ago
> Generally speaking, an optimizing compiler is not going to introduce a branch (especially a data-dependent branch) where one doesn't exist in the code.
You can't count on that, especially if you give the compiler a loop that has a versioning opportunity.