Major performance problem with std.array.front()
Vladimir Panteleev
vladimir at thecybershadow.net
Sun Mar 9 08:24:55 PDT 2014
On Sunday, 9 March 2014 at 13:47:26 UTC, Marc Schütz 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.
Andrei has made it clear that the code breakage this would
involve would be unacceptable.
More information about the Digitalmars-d
mailing list