Thomas Weidenmueller wrote:
-
RtlCopyMemory(StateChange,
+ /* Return our wait state change structure */
+ RtlMoveMemory(StateChange,
&WaitStateChange,
sizeof(DBGUI_WAIT_STATE_CHANGE));
RtlMoveMemory doesn't really make sense as the destination and source
are never overlapping, resulting in unnecessary overhead.
- Thomas
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev
Exactly, isn't RtlCopy *slower* because it handles overlapping cases,
and Move is faster because it doesn't?
--
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS