News for hackers. Stuff that matters.
Re:Memcpy vs. memmove by jandrese on Tuesday December 02, 2014 @05:13PM (#8690334)
It's one I wrote myself to test this very thing after reading the memmove manpage. I was wondering why you would ever use memcpy unless it had a big performance advantage, so I wrote a micro-benchmark to see. If you are really interested, I can put my benchmark program up somewhere.

Additional findings: Unsurprisingly using clang instead of gcc does not affect performance on FreeBSD or Linux.

Re:Memcpy vs. memmove by lbenes on Wednesday December 03, 2014 @02:12PM (#8695735)
Yes please. If you want share it, I'm curious how different compilers and architectures handle memmove vs memcpy.