Walter Bright wrote:
Andrei Alexandrescu wrote:Oh, one more thing: doing mixed-width searches would require decoding.Or a conversion before the loop starts of the search term.
That triggers memory allocation plus the same cost. It's not likely to work any better.
Andrei