Who is the best inliner of all?
Posted Jan 17, 2009 22:27 UTC (Sat) by jreiser
Parent article: Who is the best inliner of all?
How much of the fuss is due to not having or not using appropriate measurement tools? It seems to me that there might be a small number of cases (say, 10) where inline is required for functional correctness. In the other 29990 cases, #define inline /*empty*/ should work, and the justification for an actual inline should be a measurement of the increase in speed, or decrease in size. The measurement should be documented enough so that it can be repeated and verified (say, once per year) as compilers, machines, and usage changes.
to post comments)