Find on sorted range slower?

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 7 01:56:02 PDT 2015


On Friday, 7 August 2015 at 08:18:04 UTC, Nordlöw wrote:
> On Friday, 7 August 2015 at 05:21:32 UTC, Tofu Ninja wrote:
>> HAHAH wow, this is hilarious, I just checked, nothing in 
>> std.algo takes advantage of sorted ranges, sort doesn't even 
>> take advantage of it! You pass a sorted range into sort and it 
>> will just resort it! Wow....
>
> Who fixes this?
>
> I can look into it... is there an issue for this?

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


More information about the Digitalmars-d-learn mailing list