1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-12-23 13:28:16 +00:00

Use unsafe copy

This commit is contained in:
Ciarán O'Mara 2020-03-21 17:34:10 +11:00
parent 429f69d84b
commit aec919c713

View file

@ -161,7 +161,7 @@ function appendfrom!(dst, dpos, src, spos, n)
if length(dst) < dpos + n - 1
resize!(dst, dpos + n - 1)
end
copyto!(dst, dpos, src, spos, n)
unsafe_copyto!(dst, dpos, src, spos, n)
return dst
end