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 13:17:42 -0500, Allen Briggs wrote:
> 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.

The problem with a "rule of thumb" is that it might make things worse in
all cases.  At least in a measured case you have *some* scenario where
it's benefitial (for whatever that might *not* be worth).


Home | Main Index | Thread Index | Old Index