lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] SMEMCPY()


From: Kieran Mansley
Subject: Re: [lwip-devel] SMEMCPY()
Date: Mon, 13 Jun 2011 16:53:38 +0100

On Mon, 2011-06-13 at 11:04 -0400, Bill Auerbach wrote:
> If people take "light weight" to mean small code footprint then memcpy will
> take up less code than however many SMEMCPY's there are creating an inline
> for loop and copy.  Some compilers that see a memcpy with a small constant
> may also optimize this to an inlined byte copy and maybe more efficient by
> unrolling the byte copies.

SMEMCPY will still be over-ridable by the porter if they think that on
their platform some other implementation makes more sense.  

Kieran




reply via email to

[Prev in Thread] Current Thread [Next in Thread]