[Issue 15553] topN very inefficient [slower than sort, even for topN(0)] but should be O(n)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 11 08:36:34 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15553

--- Comment #3 from Andrei Alexandrescu <andrei at erdani.com> ---
BTW uniform() isn't the problem; replacing it with r.length / 2 keeps things
slow.

--


More information about the Digitalmars-d-bugs mailing list