It's Not Always ICache (2021)

28 points by hyperpape


cosarara

So, in this case, the main issue is that the inlined version counts up instead of counting down, which adds the cmp: the compiler applies an optimization in the non-inlined version, and misses it on the inlined version. But why? Is the optimizer less eager to optimizer bigger functions?