Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 08 Jun 2001 20:26:00 +0300 From: "Eli Zaretskii" To: hjl AT lucon DOT org Message-Id: <4098-Fri08Jun2001202600+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: zackw AT stanford DOT edu, dj AT redhat DOT com, gcc AT gcc DOT gnu DOT org, gdb AT sources DOT redhat DOT com, binutils AT sources DOT redhat DOT com, cygwin AT sources DOT redhat DOT com In-reply-to: <20010608100532.B5728@lucon.org> (hjl@lucon.org) Subject: Re: Another RFC: regex in libiberty Reply-to: Eli Zaretskii References: <9003-Fri08Jun2001100651+0300-eliz AT is DOT elta DOT co DOT il> <20010608095932 DOT S979 AT stanford DOT edu> <20010608100532 DOT B5728 AT lucon DOT org> > Date: Fri, 8 Jun 2001 10:05:32 -0700 > From: "H . J . Lu" > > On Fri, Jun 08, 2001 at 09:59:32AM -0700, Zack Weinberg wrote: > > > > The regex.c that came with GDB 4.18, which I think is the one that got > > spread around widely, had a bug in its implementation of the POSIX > > regcomp/regexec interface, which caused a major performance hit. That > > bug has been fixed in GNU libc for a long time. When I replaced > > fixincludes' copy of regex.c with a more recent version from glibc, > > fixincludes was sped up by a factor of nine. That same bug affects > > Sed 3.02 - replace the regex.c it ships with with the one from glibc > > 2.2.x and I bet you'll see better performance. > > > > I have been telling people that you should use regex.c in glibc if > all possible if you are using gnu-regex. Every package which uses > gnu-regex should have a configuration option not to use the included > gnu-regex. Sed does have such an option (I used it to build the binary with Spencer's regex which is the standard regex included in the DJGPP library). -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple