Major performance problem with std.array.front()

Dicebot public at dicebot.lv
Fri Mar 7 09:08:02 PST 2014


On Friday, 7 March 2014 at 17:04:30 UTC, Vladimir Panteleev wrote:
> I think that if we are to draw a line somewhere on what to 
> support and not, the decision should not be embedded as deep 
> into the language. Ideally, it would be clearly visible in the 
> code that you are counting code points.

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)


More information about the Digitalmars-d mailing list