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



--- Comment #3 from David Simcha <dsim...@yahoo.com> 2012-02-11 15:21:17 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > I'll put in an extra test for overlap and
> > fallback to naive copying if the arrays do overlap.
> 
> Is using memmove() good there is overlap?

I don't think it would have the same semantics in all cases.  memmove()
requires semantics identical to if an intermediate buffer were used.  Imagine
copying a[4..9] to a[5..10].

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

Reply via email to