News for hackers. Stuff that matters.
Re:New string search algorithm by kragen on Saturday February 12, 2011 @04:09PM (#2211139)
Yes, but the number of comparisons and the number of swaps wouldn't change. Sedgewick and Yaroslavskiy can't both be right, unless anatoly misread something.
Re:New string search algorithm by cperciva on Saturday February 12, 2011 @05:08PM (#2211247)
Oops, I misread what he wrote.