News for hackers. Stuff that matters.
Re:Why GNU grep is fast (2010) by tetha on Thursday November 28, 2013 @04:56PM (#6816662)
Couldn't you speed up a small-alphabet search by considering pairs or triplets of characters so you have N^2 or N^3 glyphs instead of N characters (so, going from 4 characters to 16 cgaracters to 64 characters)?
Re:Why GNU grep is fast (2010) by mtdewcmu on Friday November 29, 2013 @10:53PM (#6822202)
I'm not sure exactly how your proposal might work, but, generally, the problem you would run into is that the group of characters can be shifted. So you'd end up having to compare every possible shift.