topN using a heap

Ilya via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 18 16:46:52 PST 2016


On Tuesday, 19 January 2016 at 00:38:14 UTC, Timon Gehr wrote:
> On 01/19/2016 01:12 AM, Ilya wrote:
>>>
>>
>> There is already implementation with predictable seed. Proof:
>> https://github.com/D-Programming-Language/phobos/blob/master/std/random.d#L1151
>> --Ilya
>
> The default RNG is seeded with unpredictableSeed. What is the 
> point you are trying to make?

unpredictableSeed is initialized only once and can be easily 
estimated. --Ilya


More information about the Digitalmars-d mailing list