On Friday 27 May 2011 18:47:49, Tom Tromey wrote:
> >>>>> "Marek" == Marek Polacek <[email protected]> writes:
> 
> Marek> BTW, couldn't be those strcat()s replaced by, e.g., cheaper mempcpy()?
> 
> Thanks for noticing this.
> 
> Normally my preference is to prefer the simplest code unless it is known
> to be performance-critical.  In a case like this I doubt that it
> matters.

And mempcpy is not portable --- we'd have to pull it from gnulib.

-- 
Pedro Alves
_______________________________________________
Toolchain-devel mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/toolchain-devel

Reply via email to