Date: Wed, 21 Feb 2001 15:06:22 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Akinori MUSHA <knu@iDaemons.org> Cc: current@FreeBSD.ORG Subject: Re: find(1) -regex/-iregex Message-ID: <3A935ADE.21C1F6EC@newsguy.com> References: <8666i588p4.wl@archon.local.idaemons.org> <3A93376D.B371FCD1@newsguy.com> <863dd8r54c.wl@archon.local.idaemons.org> <861yssr3cv.wl@archon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Akinori MUSHA wrote: > > > > I'm not familiar with find sources, but it seems to me you execute > > > regcomp() for each file name to be compared? If so... change that! :-) > > > Regcomp() does expensive setup so that regexec() can be run > > > inexpensively many times over. > > > > Indeed. I'll do it soon, thanks. > > Updated. > > http://people.FreeBSD.org/~knu/misc/find_regex.diff You might have done it, but the version above is not it. :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.fashionable.bsdconspiracy.net "Too bad sentience isn't a marketable commodity." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A935ADE.21C1F6EC>