On Sun, 12 Apr 2015 11:36:00 +0200
koneu <kone...@googlemail.com> wrote:

> It is not a nop though, but two copy operations. Even with i=0 the
> function call might be more costly than a simple je.

The assembly is rather irrelevant in this case. Let's write the code
the way it is most understandable and clear.
I'd remove the if, memmove is equivalent to a non-op when the offset
is 0.

Cheers

FRIGN

-- 
FRIGN <d...@frign.de>

Reply via email to