On 12/9/22 18:11, Alejandro Colomar via Gcc wrote: > I expect the compiler to be knowledgeable enough to call whatever is fastest, > whatever it is, but be consistent in both cases. However, here are the > results:
Hi. Note the glibc implementation of mempcpy typically uses (calls) memcpy, thus I don't see any problem with the code snippets you provided. Cheers, Martin