topN using a heap

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 19 07:33:26 PST 2016


On 01/19/2016 08:10 AM, Andrei Alexandrescu wrote:
> So anyhow we need the "intro" part. I'll get to that soon.

Destroy! I made it part of 
https://github.com/D-Programming-Language/phobos/pull/3934.

https://github.com/andralex/phobos/commit/4ba95cd1bd5124b53324c441e62c51d759481b04

One interesting side topic would be how to avoid the use of goto without 
losing clarity.


Andrei



More information about the Digitalmars-d mailing list