aboutsummaryrefslogtreecommitdiff
path: root/archival/bzip2.c
AgeCommit message (Collapse)Author
2010-06-02*: better string sharingDenys Vlasenko
text data bss dec hex filename 849427 441 7556 857424 d1550 busybox_old 849355 441 7556 857352 d1508 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-31archival/*: shrink by reusing sufficiently similar functionsDenys Vlasenko
function old new delta append_ext - 16 +16 unxz_main 77 83 +6 unlzma_main 77 83 +6 uncompress_main 42 48 +6 gzip_main 184 190 +6 bzip2_main 114 120 +6 bunzip2_main 61 67 +6 bbunpack 469 475 +6 send_tree 355 360 +5 lzop_main 89 92 +3 gunzip_main 61 64 +3 make_new_name_lzop 84 82 -2 make_new_name_gunzip 114 112 -2 make_new_name_unxz 14 - -14 make_new_name_unlzma 14 - -14 make_new_name_uncompress 14 - -14 make_new_name_bunzip2 14 - -14 make_new_name_gzip 17 - -17 make_new_name_bzip2 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/6 grow/shrink: 10/2 up/down: 69/-94) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-04-21*: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
2008-11-01gunzip: restore mtime. approx +80 bytes of codeDenis Vlasenko
rpm: make code more robust lsmod: small code shrink
2008-07-05*: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko
2008-06-27support gzip -t and bzip2 -tDenis Vlasenko
2008-03-17*: fix fallout from -Wunused-parameterDenis Vlasenko
function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
2007-10-17bzip2: more of code shrinkDenis Vlasenko
compressStream 503 473 -30 BZ2_bzCompress 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-108) Total: -108 bytes text data bss dec hex filename 676300 2538 12104 690942 a8afe busybox_old 676192 2538 12104 690834 a8a92 busybox_unstripped
2007-10-16bzip2: move state pointer to the offset 0 (smaller code)Denis Vlasenko
ifdef out DecompressEnd if FEATURE_CLEAN_UP is not seleted fallbackSort 1655 1672 +17 mainSort 2447 2458 +11 bzip2_main 109 119 +10 .rodata 123466 123469 +3 generateMTFValues 433 435 +2 handle_compress 355 356 +1 BZ2_bzCompress 79 78 -1 prepare_new_block 55 48 -7 compressStream 547 503 -44 sendMTFValues 2225 2140 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/4 up/down: 44/-137) Total: -93 bytes text data bss dec hex filename 676421 2538 12104 691063 a8b77 busybox_old 676328 2538 12104 690970 a8b1a busybox_unstripped
2007-10-16bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko
telnetd: typo fix in comment
2007-10-14bzip2: implement -1..-9 command line flagsDenis Vlasenko
2007-10-14bzip2: size reduction, to just below 9k.Denis Vlasenko
2007-10-13bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko
in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k