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

           Summary: « any » function does not what it should do
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: dimitri.saba...@gmail.com


--- Comment #0 from Dimitri Sabadie <dimitri.saba...@gmail.com> 2012-11-02 
11:07:46 PDT ---
The any function calls find, which is really weird implemented because it
returns a subrange, doing (re)allocation(s) on the fly. I think it’s way too
much for just applying a predicate on a range. That’s why I have rewritten any
as it would be (a simple loop and apply the predicate), and I’d propose a patch
here for the std one.

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

Reply via email to