Major performance problem with std.array.front()

Marc Schütz" <schuetzm at gmx.net> Marc Schütz" <schuetzm at gmx.net>
Sun Mar 9 06:47:25 PDT 2014


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.


More information about the Digitalmars-d mailing list