Major performance problem with std.array.front()

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Mar 8 12:46:12 PST 2014


On 3/8/14, 12:26 PM, Sean Kelly wrote:
> But you're right. I was being dramatic when I called it utterly broken.
> It's simply not useful to me as-is. The solution for me is fairly simple
> though if inelegant--cast the string to an array of ubyte.

Ain't nobody know nothing about 
http://dlang.org/phobos/std_string.html#.representation around here!

Andrei



More information about the Digitalmars-d mailing list