aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@eurodev.net>2005-08-25 19:12:22 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:11:06 -0400
commit8082e4ed0a61da347f1c7f210493c4e9e55c8cd0 (patch)
treef77b01974f0c773a828b7f910f9269a0a07d298f /lib/Kconfig
parentcf4ef01440ca5c6d96f2ea2b793a37a0a863a045 (diff)
[LIB]: Boyer-Moore extension for textsearch infrastructure strike #2
Attached the implementation of the Boyer-Moore string search algorithm for the new textsearch infrastructure. I've added as well a note about the limitations that this approach presents, as Thomas has remarked. Signed-off-by: Pablo Neira Ayuso <pablo@eurodev.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index eeb429a52152..b62f685f797f 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -72,6 +72,16 @@ config TEXTSEARCH
72config TEXTSEARCH_KMP 72config TEXTSEARCH_KMP
73 tristate 73 tristate
74 74
75config TEXTSEARCH_BM
76 depends on TEXTSEARCH
77 tristate "Boyer-Moore"
78 help
79 Say Y here if you want to be able to search text using the
80 Boyer-Moore textsearch algorithm.
81
82 To compile this code as a module, choose M here: the
83 module will be called ts_bm.
84
75config TEXTSEARCH_FSM 85config TEXTSEARCH_FSM
76 tristate 86 tristate
77 87