avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [PATCH] printf: %s arguments with precision


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [PATCH] printf: %s arguments with precision
Date: Thu, 12 Feb 2004 21:36:08 +0100
User-agent: Mutt/1.2.5i

As Christopher Hoover wrote:

> > I would prefer a version that doesn't call strlen()/strnlen() 
> > though, in particular in the PRINTF_MIN case.
> 
> I can do that, but can you explain why that is preferred?

Code size, but I withdraw that remark, after looking at the actual
implementations of strlen/strnlen vs. the code compiled from that
`inlined' version of strlen. ;-)

I'm going to accept your patch verbatim, after a bit of testing.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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