reading file byLine
deed via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 14 14:45:53 PDT 2015
On Monday, 14 September 2015 at 18:36:54 UTC, Meta wrote:
> As an aside, you should use `sort()` instead of the
> parentheses-less `sort`. The reason for this is that doing
> `arr.sort` invokes the old builtin array sorting which is
> terribly slow, whereas `import std.algorithm; arr.sort()` uses
> the much better sorting algorithm defined in Phobos.
Thanks for pointing out.
More information about the Digitalmars-d-learn
mailing list