Re:Why GNU grep is fast (2010)
by mtdewcmu on Thursday November 28, 2013 @04:53PM
(#6816651)
I have a book called Flexible Pattern Matching in Strings[1], which covers all the algorithms that might go into a modern, state-of-the-art grep, with practical advice on performance (N.B.: Boyer-Moore is no longer state-of-the-art). The publication year is 2002.
[1] http://www.dcc.uchile.cl/~gnavarro/FPMbook/