svn commit: r210389 - in head: . share/mk tools/build/options
usr.bin usr.bin/grep usr.bin/grep/nls
Brian Somers
brian at FreeBSD.org
Fri Jul 23 09:34:07 UTC 2010
On Thu, 22 Jul 2010 19:11:57 +0000 (UTC) Gabor Kovesdan <gabor at FreeBSD.org> wrote:
> Author: gabor
> Date: Thu Jul 22 19:11:57 2010
> New Revision: 210389
> URL: http://svn.freebsd.org/changeset/base/210389
>
> Log:
> Add BSD grep to the base system and make it our default grep.
>
> Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC),
> lower memory usage than GNU grep, GNU compatibility,
> BSD license.
>
> TODO: Performance is somewhat behind GNU grep but it is only
> significant for bigger searches. The reason is complex, the
> most important factor is that GNU grep uses lots of
> optimizations to improve the speed of the regex library.
> First, we need a modern regex library (practically by adopting
> TRE), add support for GNU-style non-standard regexes and then
> reevalute the performance issues and look for bottlenecks. In
> the meantime, for those, who need better performance, it is
> possible to build GNU grep by setting WITH_GNU_GREP.
>
> Approved by: delphij (mentor)
> Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/),
> freegrep (http://github.com/howardjp/freegrep)
> Sponsored by: Google SoC 2008
> Portbuild tests run by: kris, pav, erwin
> Acknowledgements to: fjoe (as SoC 2008 mentor),
> everyone who helped in reviewing and testing
Very nice!!
--
Brian Somers <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour ! <brian at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 306 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100723/8082c08a/signature.pgp
More information about the svn-src-all
mailing list