From owner-cvs-all Mon Jul 16 23:59:28 2001 Delivered-To: cvs-all@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 5B28C37B40B; Mon, 16 Jul 2001 23:59:12 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from mail.uic-in.net (root@[212.35.189.4]) by kalaid.f2f.com.ua (8.11.4/8.11.4) with ESMTP id f6H70Jb16300; Tue, 17 Jul 2001 10:00:22 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (das0-l14.uic-in.net [212.35.189.141]) by mail.uic-in.net (8.11.4/8.11.4) with ESMTP id f6H6wa210631; Tue, 17 Jul 2001 09:58:37 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f6H6wUD54152; Tue, 17 Jul 2001 09:58:30 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B53E225.1D5D0E4F@FreeBSD.org> Date: Tue, 17 Jul 2001 09:58:45 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: obrien@FreeBSD.org, Dima Dorfman , Greg Lehey , 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 ... References: <20010716055144.216903E28@bazooka.unixfreak.org> <20010716185008.A33483@dragon.nuxi.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > "David O'Brien" 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. This is not very good way to go, as comments in include files are often very handy when there is no or incomplete documentation on corresponding APIs. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message