[Issue 7484] std.algorithm.copy overlapping array copy

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 11 14:47:12 PST 2012


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


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2012-02-11 14:47:10 PST ---
Agreed.  I implemented the special-casing a few releases back because the
performance difference was huge, and the overlapping copy thing was an
oversight, not a conscious decision.  I'll put in an extra test for overlap and
fallback to naive copying if the arrays do overlap.

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