News for hackers. Stuff that matters.
Re:Why is this C++ code faster than my hand-written assembly... by jcelerier on Wednesday August 23, 2017 @03:01AM (#15079190)
nope, there are less instructions
Re:Why is this C++ code faster than my hand-written assembly... by vardump on Wednesday August 23, 2017 @09:37AM (#15081400)
Except that those instructions are not actually called in either case from function foo(). So they're dead code and linker will remove them.