In what platform memmove and memcpy can have significant performance difference?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I understand that memmove and memcpy difference is that memmove handles the memory overlap case. I have checked the implementation in libgcc and got this article [memcpy performance] from the intel website. In libgcc, the memmove is similar to memcpy , both just go though one byte and byte, so the performance should be almost same even after optimization. Someone has measured this and got this article memcopy, memmove, and Speed over Safety . Even I don't think the memmove can be faster than memcpy , but there should be no big difference at