Use ZSTD_copy16 instead of memcpy
This commit is contained in:
1 parent
82b0cd844f
commit
acb3dd9a68
1 file changed
+1
-1
@@ -290,7 +290,7 @@ void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e
|
|||||||
}
|
}
|
||||||
while (op < oend);
|
while (op < oend);
|
||||||
#else
|
#else
|
||||||
memcpy(op, ip, 16);
|
ZSTD_copy16(op, ip);
|
||||||
if (16 >= length) return;
|
if (16 >= length) return;
|
||||||
op += 16;
|
op += 16;
|
||||||
ip += 16;
|
ip += 16;
|
||||||
|
|||||||
Reference in new issue
Block a user