3 ms·
> And in some/most cases -Os is faster than -O3 This surprises me. Can you please elaborate?
by roeles 2y ago
> And in some/most cases -Os is faster than -O3
This surprises me. Can you please elaborate?
- withinboredom 2y agoIf the whole program can fit in the L1/L2 cache, it can speed up things quite a lot!
- rurban 2y agoA IC cache miss costs 50x more on average. If your insn and data are small, the overhead of doing more work is less than the overhead of cache misses