From owner-freebsd-ports@FreeBSD.ORG Mon Jan 26 01:23:41 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBC5916A4CE for ; Mon, 26 Jan 2004 01:23:41 -0800 (PST) Received: from mail.ciam.ru (main.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E70743D5F for ; Mon, 26 Jan 2004 01:23:39 -0800 (PST) (envelope-from sem@ciam.ru) Received: from sem.ciam.ru ([192.168.45.10] helo=ciam.ru) by mail.ciam.ru with esmtp (Exim 4.x) id 1Al2xl-000COu-41; Mon, 26 Jan 2004 12:23:21 +0300 Message-ID: <4014DC9F.9010009@ciam.ru> Date: Mon, 26 Jan 2004 12:23:43 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20040126000817.GA33860@xor.obsecurity.org> <1075079038.93327.27.camel@shumai.marcuscom.com> <20040126013745.GA34956@xor.obsecurity.org> In-Reply-To: <20040126013745.GA34956@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: Recursive make speedup patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 09:23:42 -0000 Kris Kennaway wrote: >>>* 'make index' and 'make describe' use some perl code, which might be >>>optimized or rewritten (e.g. replaced by an awk script, which would >>>have the further benefit of working out of the box on 5.x). >> >>I was planning on redoing some of the Perl per my email to you on that >>old PR. However, I can look at an awk rewrite as well. > > > I had a look at NetBSD: they use an awk script, but INDEX generation > seems to work a bit differently than us. Still, it might be useful as > a comparison in case they've spotted some useful tricks. I've tried rewrite perl code of 'describe' on awk, but I couldn't. I've tried sed/awk combination and got about two time slowing down. :( But I don't awk-guru anyway. -- Sem.