Making all strings UTF ranges has some risk of WTF

Walter Bright newshound1 at digitalmars.com
Wed Feb 3 19:12:19 PST 2010


Andrei Alexandrescu wrote:
> It's no secret that string et al. are not a magic recipe for writing 
> correct Unicode code.

I'm concerned it would be slow. Most operations on strings do not need 
to decode the unicode characters, for example, find, startsWith, etc., 
do not. Decoding then doing find, startsWith, etc., will be considerably 
slower.



More information about the Digitalmars-d mailing list