优化内存拷贝耗时
This commit is contained in:
parent
360812e3fd
commit
95e1138a45
@ -27,7 +27,7 @@ namespace VirtualNes.Core
|
|||||||
{
|
{
|
||||||
var offsetptr = ptr + offset;
|
var offsetptr = ptr + offset;
|
||||||
|
|
||||||
Unsafe.InitBlock(offsetptr, value, (uint)length);
|
Unsafe.InitBlockUnaligned(offsetptr, value, (uint)length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user