3 ms·
Compiler optimizations can actually improve developer productivity, because they allow developers to write clean but inefficient code that can be rewritten to n
by necubi 4y ago
Compiler optimizations can actually improve developer productivity, because they allow developers to write clean but inefficient code that can be rewritten to near optimal form. For example, in Rust iterators are a very convenient and clear interface that are generally zero cost (sometimes even more efficient) compared to a manual loop implementation. But without optimization, they would be many times slower.