2 ms·
Another interesting thought: Don't x+x and x*2 compile to different CPU instructions?
by thomastjeffery 9y ago
Another interesting thought:
Don't x+x and x*2 compile to different CPU instructions?
- TheCoreh 9y agoAn optimizing compiler will most likely compile both to the same instruction. (If my intuition is correct, a bitshift.)