freebsd-dev/tools/build
Ed Maste 3f39ffc893 bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatch
Bugs have been found in the fastmatch implementation as used in bsdgrep.
Some have been fixed (r316495) while fixes for others are in review
(D10098).

In comparison with the fastmatch implementation, Kyle Evans found that:

- regex(3)'s performance with literal expressions offers a speed
  improvement over fastmatch

- regex(3)'s performance, both with simple BREs and EREs, seems to be
  comparable

The regex implementation was imported in r226035, and the commit message
reports:

    This is a temporary solution until the whole regex library is
    not replaced so that BSD grep development can continue and the
    backported code gets some review and testing. This change only
    improves scalability slightly, there is no big performance boost
    yet but several minor bugs have been found and fixed.

Introduce a WITH_/WITHOUT_BSD_GREP_FASTMATCH knob to support testing
of both approaches.

PR:		175314, 194823
Submitted by:	Kyle Evans <kevans91 at ksu.edu>
Reviewed by:	bdrewery (in part)
Differential Revision:	https://reviews.freebsd.org/D10282
2017-04-21 14:36:09 +00:00
..
cross-build Allow building mkimg as cross-tool 2017-03-03 01:56:55 +00:00
make_check Don't stop other legs of a parallel build due to a failure in make_check. 2014-08-20 00:33:37 +00:00
mk Readd Big5: some large databases setup are still requiring it. 2017-04-20 18:21:50 +00:00
options bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatch 2017-04-21 14:36:09 +00:00
beinstall.sh Add my beinstall script. 2016-07-18 02:13:57 +00:00
check-links.sh Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup. 2016-01-19 22:42:16 +00:00
dummy.c
futimens.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
Makefile Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
Makefile.depend META_MODE: Remove DEP_RELDIR from Makefile.depend files. 2015-09-25 19:26:08 +00:00
stat.h build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
stdlib.h Provide reallocarray() in -legacy, if needed, to allow building head on 2015-05-15 22:19:35 +00:00
utimensat.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00