3 ms·
Optimizations often deal with inlined code. The code in the inlined function might be fine in the general sense, but once taken in a particular context, there'
by foxfluff 5y ago
Optimizations often deal with inlined code. The code in the inlined function might be fine in the general sense, but once taken in a particular context, there's dead or redundant code because the compiler can deduce values from context. It might even all fold into a constant.
Telling the developers to optimize these would be equivalent to telling them to start inlining their code (or creating variants of every function that might be inlined, to optimize it for the specific context where it will be inlined).