mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-12-24 13:48:19 +00:00
Use unsafe copy
This commit is contained in:
parent
429f69d84b
commit
aec919c713
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ function appendfrom!(dst, dpos, src, spos, n)
|
||||||
if length(dst) < dpos + n - 1
|
if length(dst) < dpos + n - 1
|
||||||
resize!(dst, dpos + n - 1)
|
resize!(dst, dpos + n - 1)
|
||||||
end
|
end
|
||||||
copyto!(dst, dpos, src, spos, n)
|
unsafe_copyto!(dst, dpos, src, spos, n)
|
||||||
return dst
|
return dst
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue