From owner-cvs-all Wed Apr 3 9: 2:28 2002 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 0EAEC37B421; Wed, 3 Apr 2002 09:02:19 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g33H2CH40336; Wed, 3 Apr 2002 09:02:12 -0800 (PST) (envelope-from dillon) Date: Wed, 3 Apr 2002 09:02:12 -0800 (PST) From: Matthew Dillon Message-Id: <200204031702.g33H2CH40336@apollo.backplane.com> To: Dominic Marks Cc: Jeroen Ruigrok/asmodai , Kenneth Culver , Dag-Erling Smorgrav , Mike Barcroft , "M. Warner Losh" , jake@locore.ca, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 critical.c src/sys/i386/include cpufunc.h critical.h src/sys/i386/isa apic_vector.s icu_vector.s src/sys/kern kern_fork.c kern_proc.c kern_switch.c src/sys/alpha/alph References: <20020402163939.M47850-100000@alpha.yumyumyum.org> <20020403052504.GJ78613@daemon.ninth-circle.org> <20020403151536.C3198@host213-123-131-244.in-addr.bto> 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 :> top makes a lot of sense.] :> :> The parser has to iterate 8 times instead of 1 time for a single tab :> character. :> :> How much gain you really get I don't know, that would need to be timed. :> :> You can always look at: http://ccache.samba.org/ to improve compilation :> speed. Actually, its the lexer that has to loop on the whitespace, not the parser. I would not expect whitespace to make much of a difference. In DICE whitespace was the first thing I checked for and it was dealt with in a tight loop. Since preprocessing tends to generate a lot of whitespace, I would be very surprised if GCC didn't optimize it too. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message