3 ms·
"Almost certainly" means that there will be a number of times where they "almost certainly" will not. Inlining is hard (especially with languages which allow f
by falcolas 9y ago
"Almost certainly" means that there will be a number of times where they "almost certainly" will not.
Inlining is hard (especially with languages which allow for overriding functions), and is not done perfectly (or at all). The LLVM compiler toolchain in particular has a lot of properties which can inhibit inlining code; and in some cases you even have to explicitly tell the LLVM compiler when it can inline a function.