[U-Boot] [PATCH] cmd editing: optimize/shrink output blanking
Wolfgang Denk
wd at denx.de
Mon Aug 9 00:26:16 CEST 2010
Dear Mike Frysinger,
In message <1279877295-4823-1-git-send-email-vapier at gentoo.org> you wrote:
> No need to output spaces 1 char at a time in a loop when the printf code
> can do the same thing with the right format string. This shrinks things
> and gives a nice speed up when killing off lines more than a byte or two
> as printf will send out the buffer in one big chunk.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> common/main.c | 8 +++-----
> 1 files changed, 3 insertions(+), 5 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Build a system that even a fool can use and only a fool will want to
use it.
More information about the U-Boot
mailing list