stty: reorganize data tables - save 0.5k
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 24 Nov 2007 04:32:49 +0000 (04:32 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 24 Nov 2007 04:32:49 +0000 (04:32 -0000)
commitdd8bbfd08465a8371769d6d12d568124058922ea
treebbb075897d8050eb62ae84980686822432c21495
parentfe5e23bf75043302a3492c9a7cd2f30f20f51b2e
stty: reorganize data tables - save 0.5k

function                                             old     new   delta
mode_name                                              -     496    +496
control_name                                           -      91     +91
stty_main                                           1235    1255     +20
find_mode                                             45      63     +18
find_control                                          45      63     +18
do_display                                           482     493     +11
wrapf                                                165     166      +1
set_mode                                             761     759      -2
max_col                                                4       -      -4
device_name                                            4       -      -4
control_info                                         153      34    -119
mode_info                                           1700     680   -1020
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 5/3 up/down: 655/-1149)        Total: -494 bytes
   text    data     bss     dec     hex filename
 777037     937    9100  787074   c0282 busybox_old
 776551     929    9100  786580   c0094 busybox_unstripped
coreutils/stty.c