3 ms·
> What a modern C compiler produces with a little help from the programmer should be reasonably close to what you can achieve by hand. Unless you're an expert
by lm28469 8y ago
> What a modern C compiler produces with a little help from the programmer should be reasonably close to what you can achieve by hand.
Unless you're an expert in ASM / have an unlimited amount of time / work on an extreme edge case I'd say the compiler will beat a human 99.9/100
- dspillett 8y agoI'm not sure I'd go as far as "beat a human 99.9/100", certainly not beat by a significant amount, but definitely "at least equal a human 99.9/100". Of course that 1‱ where the human wins could be large wins, but then you have to consider if they are in positions that actually matter i.e. tight loops.