News for hackers. Stuff that matters.
Re:2000x performance win by colomon on Saturday December 10, 2011 @09:42AM (#3337641)
Don't some of the common cases of searching require the ability to quickly skip forward N characters for high efficiency? That's simple pointer arithmetic in the ASCII case, but requires reading each byte skipped in UTF-8, right?

(I'm particularly thinking of Boyer-Moore -- http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string_sear... -- but I'm sure there are other examples as well.)

There are no comments on this comment yet.