On 04/16/2012 04:45 PM, Jim Meyering wrote:
> This is on the edge...
> I generally prefer to use memcpy when the length is already computed,
> so I propose to do that here.  However, this is certainly not
> performance sensitive, and the strcpy invocation is slightly simpler
> and hence a little more readable.  Opinions?

Yep please apply.

When I see code like this I waste time looking
at it to see why the more efficient path wasn't chosen.
Of if I'm really busy assume the more efficient path
can't be used and perpetuate the inefficiency.

cheers,
Pádraig.

Reply via email to