3 ms·
Why not both?
by tough 2y ago
Why not both?
- AtNightWeCode 2y agoImpossible. Speed option may do things like loop unrolling, function inlining and today even way more complicated things than that and therefor creates larger binaries.
- touisteur 2y agoOne way to improve performance is to unroll loops and inline code. Unfortunately this increases code size and puts pressure on the instruction cache, making a program sometimes slower. It's probably a lot harder to balance these out in the compiler than to just... sometimes try.