Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!sri-spam!mordor!lll-tis!ames!jaw From: jaw@ames.arpa (James A. Woods) Newsgroups: comp.sources.d Subject: Re: Fastest `grep'?? Really? - (nf) Message-ID: <1898@ames.arpa> Date: Wed, 24-Jun-87 23:49:37 EDT Article-I.D.: ames.1898 Posted: Wed Jun 24 23:49:37 1987 Date-Received: Fri, 26-Jun-87 07:17:09 EDT References: <7200003@iaoobelix.UUCP> Organization: NASA Ames Research Center, Moffett Field, CA Lines: 13 the unusual case mentioned, which does point out a performance gaffe, can be helped. until i can submit a patch, changing CTHRESH to be lower, say #define CTHRESH 3000 and the line if (!grepflag && pctmatch > PUNTPERCENT && file != NULL) { to if (pctmatch > PUNTPERCENT && file != NULL) { should aid such searches.