[BusyBox] Last optimization patch
Vladimir N. Oleynik
dzo at simtreas.ru
Tue Mar 26 04:11:04 UTC 2002
Hi.
The kilobyte of free space on my rescue disk urgently was necessary for me
and I offer result of search: :)
busybox.c 28 bytes (strings optimization)
lsmod.c 638 bytes (simplify if have /proc)
mkswap.c 52 bytes (add inline keywords)
mount.c 37 bytes (remove 'unnecessary' code for NFS)
$ size \
./applets/busybox_old.o ./applets/busybox.o \
./modutils/lsmod_old.o ./modutils/lsmod.o \
./util-linux/mkswap_old.o ./util-linux/mkswap.o \
./util-linux/mount_old.o ./util-linux/mount.o
text data bss dec hex filename
1203 24 0 1227 4cb ./applets/busybox_old.o
1195 4 0 1199 4af ./applets/busybox.o
824 0 0 824 338 ./modutils/lsmod_old.o
186 0 0 186 ba ./modutils/lsmod.o
2618 24 12 2654 a5e ./util-linux/mkswap_old.o
2566 24 12 2602 a2a ./util-linux/mkswap.o
2594 0 0 2594 a22 ./util-linux/mount_old.o
2557 0 0 2557 9fd ./util-linux/mount.o
Patch in attach.
PS: (Other space I found in my ports: ftp and fsck)
--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lash_patch35.gz
Type: application/octet-stream
Size: 1474 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020326/828fe7a2/attachment.obj
More information about the busybox
mailing list