Major performance problem with std.array.front()

Walter Bright newshound2 at digitalmars.com
Fri Mar 7 11:32:11 PST 2014


On 3/7/2014 9:24 AM, Vladimir Panteleev wrote:
> I think .decode should be something more explicit (byCodePoint OSLT), just so
> it's clear that it's not magical and does not solve all problems.

Good point. Perhaps "decodeUTF". "decode" is too generic.


> Until then, how will people use strings with algorithms when they mean to use
> them per-byte?

The way they do it now, i.e. they can't. That's the whole problem.



More information about the Digitalmars-d mailing list