Is there way of copying the whole array into another array? (Other than using a For-loop)

前端 未结 6 1392
孤街浪徒
孤街浪徒 2020-12-14 23:40

Is there way of copying the whole array into another array? Other than using a for-loop.

Does the move or copy command work for this? I did try but it had an error:

6条回答
  •  情深已故
    2020-12-15 00:07

    hmm...call RtlMoveMemory API.... But that's a for-loop indeed... OK.let's hope it's already optimized by SIMD instructions... or ASM and call SIMD instructions yourself...

提交回复
热议问题