October 22, 2024
Chicago 12, Melborne City, USA
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

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video