Re:On comparing languages, C++ and Go
by zxcdw on Saturday October 05, 2013 @07:05PM
(#6502405)
The article doesn't mention reasoning for using -O2 instead of -O3 or -Ofast. It seems that they give better performance in this case, as does adding -funroll-all-loops(when combined with -Ofast gives almost 10 % speedup). I am compiling with GCC 4.8.1, so perhaps authors 4.6.3 (what?) behaves differently.
[ Parent
| on HN ]
There are no comments on this comment yet.