commit | 3952bea60ec3af657c3c880c1cc25172c0a9fa22 | [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 | 4367b8db1337056baccd0ef8e3a841eee43b4274 [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>