dpkg: trivial code shrinkage, and redo G trick correctly.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 21 Jun 2008 23:15:43 +0000 (23:15 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 21 Jun 2008 23:15:43 +0000 (23:15 -0000)
commitc87339d5848ef63cd2968cb20ca007b3c8978773
tree2429e4fc4c908cefd4398c14d576d548eb232f39
parentd235f58ac27d6eda32e5106700e76352e31aa511
dpkg: trivial code shrinkage, and redo G trick correctly.

function                                             old     new   delta
run_package_script_or_die                              -      72     +72
fill_package_struct                                  303     309      +6
search_package_hashtable                             122     125      +3
get_status                                           112     111      -1
status_hashtable                                       4       -      -4
set_status                                           162     158      -4
package_hashtable                                      4       -      -4
name_hashtable                                         4       -      -4
package_satisfies_dependency                         112     106      -6
search_name_hashtable                                118     110      -8
configure_package                                    121     106     -15
remove_package                                       333     317     -16
search_status_hashtable                              133     111     -22
purge_package                                        247     217     -30
unpack_package                                       552     521     -31
run_package_script                                    62       -     -62
dpkg_main                                           3991    3867    -124
------------------------------------------------------------------------------
(add/remove: 1/4 grow/shrink: 2/10 up/down: 81/-331)         Total: -250 bytes
   text    data     bss     dec     hex filename
 807972     611    6924  815507   c7193 busybox_old
 807603     611    6908  815122   c7012 busybox_unstripped
archival/dpkg.c