On 1/15/11 9:25 PM, Jonathan M Davis wrote:
Considering that strings are already dealt with specially in order to have an
element of dchar, I wouldn't think that it would be all that distruptive to make
it so that they had an element type of Grapheme instead. Wouldn't that then fix
all of std.algorithm and the like without really disrupting anything?

It would make everything related a lot (a TON) slower, and it would break all client code that uses dchar as the element type, or is otherwise unprepared to use Graphemes explicitly. There is no question there will be disruption.

Andrei

Reply via email to