Reserving/Preallocating associative array?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Dec 25 10:51:23 PST 2013


On 12/25/13 10:25 AM, John Colvin wrote:
> watch out for the parenthsesis on sort. As bearophile likes to point out
> frequently, without parenthesis you are calling the builtin sort, not
> the std.algorithm one.

Ew, good point. Thanks.

> Gordon, you may find this has better performance if you add () to sort.

Also, can you share your data somewhere if it's not confidential?


Andrei



More information about the Digitalmars-d mailing list