Major performance problem with std.array.front()

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Mar 10 04:15:20 PDT 2014


On 3/9/2014 11:27 AM, Vladimir Panteleev wrote:
> On Sunday, 9 March 2014 at 08:32:09 UTC, monarch_dodra wrote:
>> On topic, I think D's implicit default decode to dchar is *infinity*
>> times better than C++'s char-based strings. While imperfect in terms
>> of grapheme, it was still a design decision made of win.
>
> Care to argument?
>

It's simple: Breaking things on all non-English languages is worse than 
breaking things on non-western[1] languages. Is still breakage, and that 
*is* bad, but there's no question which breakage is significantly larger.

[1] (And yes, I realize "western" is a gross over-simplification here. 
Point is "one working language" vs "several working languages".)



More information about the Digitalmars-d mailing list