Skip site navigation (1)Skip section navigation (2)
Date:      17 Jul 2001 04:02:13 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        obrien@FreeBSD.org
Cc:        Dima Dorfman <dima@unixfreak.org>, Greg Lehey <grog@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/compat-43 gethostid.3 setruid.3 sigpause.2 sigsetmask.2 sigvec.2 src/lib/libc/gen exec.3 getprogname.3 glob.3 setproctitle.3 syslog.3 src/lib/libc/gmon moncontrol.3 src/lib/libc/i386/sys i386_get_ioperm.2 ...
Message-ID:  <xzpbsmkqpne.fsf@flood.ping.uio.no>
In-Reply-To: <20010716185008.A33483@dragon.nuxi.com>
References:  <20010716055144.216903E28@bazooka.unixfreak.org> <xzpofqkqw0y.fsf@flood.ping.uio.no> <20010716185008.A33483@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.org> writes:
> On Tue, Jul 17, 2001 at 01:44:29AM +0200, Dag-Erling Smorgrav wrote:
> > Unnecessary whitespace, comments and preprocessor directives in
> > commonly used headers can have a significant effect on build times.
> I think you're being a little ridiculous here DES.  I don't think you'd
> see a measurable difference in `make buildworld' times for the random
> trailing white space we are talking about here.

This may be too small to measure, but removing superfluous comments
(particularly copyright notices) and whitespace from frequently used
headers makes a big difference.  I have a script somewhere that
removes all comments and non-syntactically-significant whitespace from
/usr/include.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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