Walter Bright wrote:
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.

Oh, one more thing: doing mixed-width searches would require decoding.

Andrei

Reply via email to