faster alternative to memcpy?

后端 未结 16 1141
一生所求
一生所求 2020-11-29 21:27

I have a function that is doing memcpy, but it\'s taking up an enormous amount of cycles. Is there a faster alternative/approach than using memcpy to move a piece of memory?

16条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 21:46

    Usually the standard library shipped with the compiler will implement memcpy() the fastest way possible for the target platform already.

提交回复
热议问题