Major performance problem with std.array.front()
bearophile
bearophileHUGS at lycos.com
Sun Mar 9 09:02:53 PDT 2014
Vladimir Panteleev:
>> Seriously, Bearophile suggested "ABCD".sort(), and it took
>> about 6 pages (!) for someone to point out this would be wrong.
>
> Sorting a string has quite limited use in the general case,
It seems I am sorting arrays of mutable ASCII chars often enough
:-)
Time ago I have even asked for a helper function:
https://d.puremagic.com/issues/show_bug.cgi?id=10162
Bye,
bearophile
More information about the Digitalmars-d
mailing list