summaryrefslogtreecommitdiff
path: root/src/string/memmove.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10reenable word-at-at-time copying in memmoveRich Felker1-4/+27
before restrict was added, memove called memcpy for forward copies and used a byte-at-a-time loop for reverse copies. this was changed to avoid invoking UB now that memcpy has an undefined copying order, making memmove considerably slower. performance is still rather bad, so I'll be adding asm soon.
2012-09-06remove dependency of memmove on memcpy directionRich Felker1-5/+4
this commit introduces a performance regression in many uses of memmove, which will need to be addressed before the next release. i'm making it as a temporary measure so that the restrict patch can be committed without invoking undefined behavior when memmove calls memcpy with overlapping regions.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+14