Use ZSTD_copy16 instead of memcpy
This commit is contained in:
@@ -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