commit | 8faba4894c6e2bafbfab17260f3db17867cd50d2 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jul 23 05:28:15 2010 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Mon Aug 09 00:26:04 2010 +0200 |
tree | ff0250e8434708d53d2d58fbd0363962f12da028 | |
parent | 8011ec638e16695081ce65ce3997499ba41c8ba3 [diff] |
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>