From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 10:21:01 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9E6F1065694 for ; Mon, 23 Aug 2010 10:21:01 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 63D398FC12 for ; Mon, 23 Aug 2010 10:20:58 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 14B0414DC799; Mon, 23 Aug 2010 12:20:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XWw3HG+MzINt; Mon, 23 Aug 2010 12:20:56 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id ECB3D14DC75D; Mon, 23 Aug 2010 12:20:55 +0200 (CEST) Message-ID: <4C724B86.7070205@FreeBSD.org> Date: Mon, 23 Aug 2010 12:20:54 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Mike Haertel References: <201008210231.o7L2VRvI031700@ducky.net> In-Reply-To: <201008210231.o7L2VRvI031700@ducky.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: why GNU grep is fast X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 10:21:01 -0000 Em 2010.08.21. 4:31, Mike Haertel escreveu: > Hi Gabor, > > I am the original author of GNU grep. I am also a FreeBSD user, > although I live on -stable (and older) and rarely pay attention > to -current. > > However, while searching the -current mailing list for an unrelated > reason, I stumbled across some flamage regarding BSD grep vs GNU grep > performance. You may have noticed that discussion too... > > Anyway, just FYI, here's a quick summary of where GNU grep gets > its speed. Hopefully you can carry these ideas over to BSD grep. Thanks, Mike, I'll check how I could adopt these ideas into BSD grep. I think your kind help was such a nice gesture and the open souce world should be based on such cooperation instead of meaningless competition. Gabor