[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Speeding [u]ltoa by 35%
From: |
Weddington, Eric |
Subject: |
Re: [avr-gcc-list] Speeding [u]ltoa by 35% |
Date: |
Sun, 1 Jul 2012 15:30:58 +0000 |
> -----Original Message-----
> From: address@hidden [mailto:avr-
> address@hidden On Behalf Of Georg-
> Johann Lay
> Sent: Sunday, July 01, 2012 9:01 AM
> To: Dmitry
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] Speeding [u]ltoa by 35%
>
> Concerning sprintf: what's the avr-libc policy here?
In general, our users will complain if code size increases, even by a trivial
amount. It is only rarely (or never) that I hear a complaint that the code is
not fast enough. And even then, they typically talk about speed of executing an
ISR, not mainline code.
Because of that, IMHO, size of the code is much more critical than speed.
Having said that, though, I'm not against having additional, alternative
functions that optimize speed, as long as the default is for size.
Eric