On Wed, Oct 20, 2010 at 2:56 AM, Alexander Shishkin <[email protected]> wrote:
> How about this? (I left locking in place but applied other changes)
>
> function                                             old     new   delta
> add_shell_main                                         -     497    +497
> .rodata                                           144696  144795     +99
> packed_usage                                       27078   27114     +36
> applet_names                                        2259    2282     +23
> applet_main                                         2672    2688     +16
> applet_nameofs                                       668     672      +4
> applet_install_loc                                   167     168      +1
> ------------------------------------------------------------------------------
> (add/remove: 2/0 grow/shrink: 6/0 up/down: 676/0)             Total: 676 bytes

676 bytes is far too much for a simple pass over a text file.

How about this?

http://git.busybox.net/busybox/commit/?id=5be79ff27a5852567a9bdec80d67b061ad828290

function                                             old     new   delta
add_remove_shell_main                                  -     259    +259
packed_usage                                       27408   27438     +30
applet_names                                        2326    2349     +23
applet_main                                         1364    1372      +8
applet_nameofs                                       682     686      +4
run_applet_and_exit                                  700     703      +3
dont_add                                               -       2      +2
applet_install_loc                                   171     172      +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 330/0)             Total: 330 bytes

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to