D's confusing strings (was Re: D on hackernews)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Sep 21 13:01:44 PDT 2011


On 9/21/11 1:20 PM, Christophe Travert wrote:
> Dealing with utfencoded strings is less efficient, but there is a number
> of algorithms that can be optimized for utfencoded strings, like copying
> or finding an ascii char in a string. Unfortunately, there is no
> practical way to do this with the current range API.

I'd love to hear more about that. The standard library does optimize 
certain algorithms for UTF strings.

Andrei


More information about the Digitalmars-d mailing list