www.digitalmars.com         C & C++   DMDScript  

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


           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

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


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