tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bloat

On Fri, Jan 30, 2009 at 07:45:32PM +0200, Antti Kantee wrote:
> If you can't construct a micro test case showing your inline makes
> any difference, nevermind a real world scenario, what's the benefit?

There are benefits to clarity and type-checking in at least some of the
cases Thor mentions.

The problem with a "micro test case" or even a "real world scenario"
kind of metric is that the benefit (or cost) may depend heavily on
the hardware.

In general, I think Thor's "rule of the thumb" is reasonable.  As a
rule of thumb.  I can't imagine that he (or anyone else) would argue
that it should be a hard and fast globally-applied rule.

inline responsibly


Allen Briggs  |  |

Home | Main Index | Thread Index | Old Index