3 ms·
What a waste of time. Yes, specialists can squeeze the last performance improvements in ASM compared to C. Doesn't mean that -O2/-O3, auto-vectorizing can't do
by raverbashing 12y ago
What a waste of time.
Yes, specialists can squeeze the last performance improvements in ASM compared to C. Doesn't mean that -O2/-O3, auto-vectorizing can't do a nice job and get to 90% of that
Optimizing DO matter. Just compare -O0 and -O1. Really. It's not because CPUs are fast that people shouldn't do that and compilers shouldn't optimize a bare minimum.
It's even better that the compiler do that because ASM optimizing by hand is very error prone.
And compilers get better every day. Just look at LLVM.