[PATCH] top: small code shrink

Maksym Kryzhanovskyy xmaks at email.cz
Fri Jun 4 10:39:08 UTC 2010


Hi Denis,

attached is a patch for the top applet, consider usage.

function                                             old     new   delta
.rodata                                           131721  131765     +44
grab_number                                           53       -     -53
display_topmem_process_list                         1095     859    -236
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 44/-289)          Total: -245 bytes


Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.top.patch
Type: text/x-patch
Size: 2874 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100604/d0302367/attachment.bin>


More information about the busybox mailing list