Unicode handling comparison

Walter Bright newshound2 at digitalmars.com
Thu Nov 28 18:38:36 PST 2013


On 11/27/2013 12:06 PM, Dmitry Olshansky wrote:
> 27-Nov-2013 18:45, David Nadlinger пишет:
>> As far as I'm aware, this behavior is the result of a deliberate
>> decision, as normalizing strings on the fly isn't really cheap.
>
> It's anything but cheap.
> At the minimum imagine crawling the string and issuing a table lookup per
> codepoint.

Decoding isn't cheap, either, which is why I rant about it being the default 
behavior.



More information about the Digitalmars-d mailing list