www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9682] New: group(SortedRange) ==> SortedRange

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 puremagic.com
        ReportedBy: bearophile_hugs eml.cc
        Depends on: 9616



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: -------
Mar 10 2013