[Issue 9682] New: group(SortedRange) ==> SortedRange

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 09:30:54 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9682

           Summary: group(SortedRange) ==> SortedRange
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc
        Depends on: 9616


--- Comment #0 from bearophile_hugs at eml.cc 2013-03-10 09:30:53 PDT ---
After this issue is implemented:

http://d.puremagic.com/issues/show_bug.cgi?id=9616

Then I'd like group() to recognize a lazy SortedRange, and return another
sorted range:

group(SortedRange) ==> SortedRange

group() is very often run on a sorted range. This enhancement will allow the
binary search an other algorithms to work on the output of group. This is quite
handy and avoids an useless call to assumeSorted.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list