Date: Fri, 20 Aug 2010 09:31:44 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Gabor Kovesdan <gabor@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: Official request: Please make GNU grep the default Message-ID: <1163150765.20100820093144@serebryakov.spb.ru> In-Reply-To: <4C66C010.3040308@FreeBSD.org> References: <4C6505A4.9060203@FreeBSD.org> <20100813085235.GA16268@freebsd.org> <4C66C010.3040308@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Gabor. You wrote 14 августа 2010 г., 20:10:56: > 2, GNU grep uses internal optimizations to get that performance. I think > it's a wrong approach because the regex library itself should be > optimized instead to keep BSD grep clean and simple and to provide the > same efficiency for all utilities that are linked to the regex library. > Our libc-regex is definitely need to be replaced at some point in the > future but that's a more complex item. See the following references: > http://wiki.freebsd.org/BSDgrep > http://wiki.freebsd.org/Regex You don't have these links on Wiki page, so I post them here. I hope, you've read these articles, but it is better to duplicate links, than miss them. http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/ And it iw very strange to see TRE soooo slow, because it seems, it is based on "fast" linear approcach, when gnu-regexp is old, slow, one... -- // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1163150765.20100820093144>
