Major performance problem with std.array.front()

Walter Bright newshound2 at digitalmars.com
Sun Mar 9 16:09:05 PDT 2014


On 3/9/2014 6:34 AM, Jakob Ovrum wrote:
> `byCodeUnit` is essentially std.string.representation.

Not at all. std.string.representation takes a string and casts it to the 
corresponding ubyte, ushort, uint string.

It doesn't work at all with InputRange!char


More information about the Digitalmars-d mailing list