Stable topN?

Xinok via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 24 18:13:36 PDT 2014


On Wednesday, 25 June 2014 at 00:50:48 UTC, Andrei Alexandrescu 
wrote:
> On 6/24/14, 4:41 PM, Xinok wrote:
>> On Tuesday, 24 June 2014 at 22:09:39 UTC, Andrei Alexandrescu 
>> wrote:
>>> On 6/24/14, 11:50 AM, Xinok wrote:
>>> [snip]
>>>
>>> See also https://issues.dlang.org/show_bug.cgi?id=12987. 
>>> Thanks! --
>>> Andrei
>>
>> Given that's a breaking change, I'd rather leave it open to 
>> discussion
>> for a while. It would be really bad to silently change its 
>> behavior
>> without so much as a deprecation warning. For now, I'll work on
>> implementing deterministic & stable topN.
>
> I think the breakage brought about from changing return types 
> from void to something else is acceptable. -- Andrei

Ahhh, I missed that minor detail. :-P I had mistakenly assumed it 
returns the full range.


More information about the Digitalmars-d mailing list