[Issue 8946] New: « any » function does not what it should do
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 2 11:07:47 PDT 2012
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: nobody at puremagic.com
ReportedBy: dimitri.sabadie at gmail.com
--- Comment #0 from Dimitri Sabadie <dimitri.sabadie at 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: -------
More information about the Digitalmars-d-bugs
mailing list