Do parentheses matter for better performance?
Missed optimizations in LLVM The book “Computer Systems: A Programmer’s Perspective” warns the readers: “When in doubt, put in parentheses!”. Despite the authors saying this when talking about precedence issues, it would be applicable to some other cases. If you have ever written in a Lisp-like language you must love them! But what would happen if we put some undue parentheses in our code. Let us consider the following C function (sum....