Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 1996 15:47:56 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, phk@critter.tfs.com
Cc:        current@freebsd.org
Subject:   Re: users of "ft" tapes, please test!
Message-ID:  <199611290447.PAA13253@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help

>>I have been thinking about un-inlining spls.  This saves 29K out of

>I generally use the rule of thumb that unless the text-size is
>smaller as a result, then inlining is wrong.

A good rule, I think.  Of course it is wrong if the code is in a tight
loop, but that isn't common.

I think the inlines for min(), etc. break this rule.  There aren't many
inlines that follow it.  E.g,. the inline spltty(), which is approximately
only 2 C instructions (save = cpl; cpl |= tty_imask;) is twice as large
as the non-inline version.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611290447.PAA13253>