Companies like Infosys are running their new hires through many weeks of training to bring them up to speed on new ...
The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.