Making all strings UTF ranges has some risk of WTF

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Feb 3 22:51:52 PST 2010


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



More information about the Digitalmars-d mailing list