Interesting post on GCC/Clang optimisations. One story that always
comes to mind when thinking about compilers is that of young Gauss,
when his teacher decided to punish the class by telling them to add
all the integers from 0 - 100. As it goes, Gauss came up with a summing
formula instead of entering a very tedious for loop, and finished the task
in minutes. I guess the teacher was only interested in the implementation
and not the result!