Another algo for faster sorting

Andrea Fontana via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 8 07:43:17 PDT 2016


On Friday, 8 April 2016 at 13:35:53 UTC, Andrei Alexandrescu 
wrote:
> Guess we need a pull request. In order to distinguish the "less 
> than" (default) predicate from arbitrary predicates, just 
> define two overloads of sort, one without the predicate 
> parameter. -- Andrei

Why not a sort with SortAscending.yes/no or an enum as 
(template?) param?



More information about the Digitalmars-d mailing list