3 ms·
An optimizing compiler will most likely compile both to the same instruction. (If my intuition is correct, a bitshift.)
by TheCoreh 9y ago
An optimizing compiler will most likely compile both to the same instruction. (If my intuition is correct, a bitshift.)