Major performance problem with std.array.front()

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Mar 9 10:27:29 PDT 2014


On 3/9/14, 6:47 AM, "Marc Schütz" <schuetzm at gmx.net>" wrote:
> On Friday, 7 March 2014 at 15:03:24 UTC, Dicebot wrote:
>> 2) It is regression back to C++ days of no-one-cares-about-Unicode
>> pain. Thinking about strings as character arrays is so natural and
>> convenient that if language/Phobos won't punish you for that, it will
>> be extremely widespread.
>
> Not with Nick Sabalausky's suggestion to remove the implementation of
> front from char arrays. This way, everyone will be forced to decide
> whether they want code units or code points or something else.

Such as giving up on that crappy language that keeps on breaking their code.

Andrei



More information about the Digitalmars-d mailing list