On Sun, 12 Apr 2015 11:36:00 +0200
koneu <koneu93_AT_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 <dev_AT_frign.de>
Received on Sun Apr 12 2015 - 11:54:59 CEST