OiO.lk Blog C# Where can I find the real memcpy() implementation?
C#

Where can I find the real memcpy() implementation?


First hit for memcpy source code c. The implementation is a while loop that copies one byte at a time. Though many answers make it clear that the actual implementation is a lot faster than copying one byte at a time. Where can I find the real implementation, the real, heavily optimized one that the compiler actually uses? What does it look like in C?

Seeking recommendations for books, tools, software libraries, and more

Not really. I am asking how an existing implementation works, not which library etc. I should use.



You need to sign in to view this answers

Exit mobile version