Andrei Alexandrescu Wrote:

> 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

Exactly. Please don't go down the route that Microsoft did for regex case 
insensitive searching (at least when I last looked at it) - they made the 
*input string* all lower case... D'oh!

Regards,

Ben

Reply via email to