summaryrefslogtreecommitdiffstats
path: root/lib/display_options.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-23 05:28:15 -0400
committerWolfgang Denk <wd@denx.de>2010-08-09 00:26:04 +0200
commit8faba4894c6e2bafbfab17260f3db17867cd50d2 (patch)
treeff0250e8434708d53d2d58fbd0363962f12da028 /lib/display_options.c
parent8011ec638e16695081ce65ce3997499ba41c8ba3 (diff)
downloadtalos-obmc-uboot-8faba4894c6e2bafbfab17260f3db17867cd50d2.tar.gz
talos-obmc-uboot-8faba4894c6e2bafbfab17260f3db17867cd50d2.zip
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>
Diffstat (limited to 'lib/display_options.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud