[Issue 8946] « any » function does not what it should do

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 3 07:18:03 PDT 2012


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


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dmitry.olsh at gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-11-03 07:18:01 PDT ---
Ever heard of slicing an array in D? 

Check this out: http://dlang.org/d-array-article.html

Dig down in std.algotrithm.find and you'll find out that it's lazy iterates a
forward range. Thus like the most of std.algorithm functions it DOESN'T
allocate. In case of array it just returns a slice of original array.

So this report is invalid.

-- 
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