[fpc-devel] inline... and philosophy

Marģers . margers.roked at inbox.lv
Fri Nov 8 20:36:03 CET 2019

> - Identifying functions that are only used once.  This became a slight point of contention between Florian and myself, because I inlined a couple of functions

Inlining every once used function is just wrong. Gain from eliminating call and function prologue and epilogue might not be sufficient to outweigh "blobing" caller function. One optimizations of clang  is "outline" some parts of larger functions (like else statement).

More information about the fpc-devel mailing list