Major performance problem with std.array.front()
Dicebot
public at dicebot.lv
Mon Mar 10 06:18:49 PDT 2014
On Sunday, 9 March 2014 at 17:27:20 UTC, Andrei Alexandrescu
wrote:
> 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
That was more about "if you are that crazy to even consider such
breakage, this is closer my personal perfection" than actual
proposal ;)
More information about the Digitalmars-d
mailing list