Unicode handling comparison

Walter Bright newshound2 at digitalmars.com
Thu Nov 28 18:32:41 PST 2013


On 11/28/2013 10:19 AM, H. S. Teoh wrote:
> Always decoding strings
> *is* slow, esp. when you already know that it only contains ASCII
> characters.

It doesn't have to be merely ASCII. You can do string substring searches without 
any need for decoding, for example. You don't even need decoding to do regex. 
Decoding is rarely needed.



More information about the Digitalmars-d mailing list