Major performance problem with std.array.front()

Dicebot public at dicebot.lv
Fri Mar 7 10:03:19 PST 2014


On Friday, 7 March 2014 at 17:39:41 UTC, H. S. Teoh wrote:
>> Well if you consider really breaking changes, simply 
>> prohibiting
>> plain random access to char[] and forcing to use either .raw or
>> .decode is one thing I'd love to see (with .byGrapheme as 
>> library
>> cherry on top)
>
> I don't understand what advantage this would bring.

Making sure that whatever interpretation is chosen by the 
programmer it is actually a conscious choice and he does not hold 
any false illusions.


More information about the Digitalmars-d mailing list