From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 21 08:56:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A0E37B401 for ; Sat, 21 Jun 2003 08:56:02 -0700 (PDT) Received: from mail.farley.org (adsl-67-64-95-201.dsl.austtx.swbell.net [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D5C943FBD for ; Sat, 21 Jun 2003 08:56:01 -0700 (PDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (zwfmj09ejpepx3kl@thor.farley.org [IPv6:2002:4340:5fc9::5]) by mail.farley.org (8.12.9/8.12.9) with ESMTP id h5LFtxMp000503; Sat, 21 Jun 2003 10:55:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.12.9/8.12.9) with ESMTP id h5LFtxPC018954; Sat, 21 Jun 2003 10:55:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from localhost (sean@localhost)h5LFtxTk018951; Sat, 21 Jun 2003 10:55:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) X-Authentication-Warning: thor.farley.org: sean owned process doing -bs Date: Sat, 21 Jun 2003 10:55:59 -0500 (CDT) From: Sean Farley X-X-Sender: sean@thor.farley.org To: freebsd-hackers@freebsd.org Message-ID: <20030621103502.K18572@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: Sean Farley Subject: Replacing GNU grep revisited X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 15:56:02 -0000 In January, Pedro Giffuni started a thread about replacing GNU's grep in the system. Interestingly, I did not know about the grep thread on hackers until later. James Howard had interjected in February with mention that he had gotten patches to speed up freegrep. I had sent him those patches in late January, but I have not heard from him since. Hopefully, he is OK and just busy. I have placed the patches up on Geocities=B9 for others to try out. They get freegrep fairly close to the performance of GNU's grep. Also included is a small patch to regex to squeak a bit more performance out of it, but I am not certain if it actually helps or not. BTW, Postgres is using a newer version of the regex library--swiped from TCL--that FreeBSD uses. It supports multibyte characters. Is it time for an update? =B9 http://www.geocities.com/sean_farley/ Sean P.S. Please Cc me as I am not on the list. ----------------------- sean-freebsd@farley.org