Major performance problem with std.array.front()

bearophile bearophileHUGS at lycos.com
Thu Mar 6 19:22:12 PST 2014


Walter Bright:

> You use ranges a lot. Would it break any of your code?

I need to try the changes to be sure. But the magnitude of this 
change is so large that I guess some code will surely break.

One advantage of your change is that this code will work:

auto s = "hello".dup;
s.sort();

Bye,
bearophile


More information about the Digitalmars-d mailing list