]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd editing: optimize/shrink output blanking
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Jul 2010 09:28:15 +0000 (05:28 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Aug 2010 22:26:04 +0000 (00:26 +0200)
commit8faba4894c6e2bafbfab17260f3db17867cd50d2
treeff0250e8434708d53d2d58fbd0363962f12da028
parent8011ec638e16695081ce65ce3997499ba41c8ba3
cmd editing: optimize/shrink output blanking

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@gentoo.org>
common/main.c