[PATCH 2/2] (g)unzip: Optimize inflate_codes()

Natanael Copa natanael.copa at gmail.com
Thu Feb 18 09:51:53 UTC 2010


On Thu, Feb 18, 2010 at 6:38 AM, Dan Fandrich <dan at coneharvesters.com> wrote:

> I just hacked busybox to use zlib (dynamically linked) instead of its internal
> compression/decompression routines and got this out of bloatcheck:
>
> (add/remove: 0/38 grow/shrink: 1/4 up/down: 67/-11449)     Total: -11382 bytes
>  text    data     bss     dec     hex filename
>  812761    2444    9288  824493   c94ad busybox_old
>  802011    2464    9288  813763   c6ac3 busybox_unstripped
>
> So, if you have zlib on disk already due to some other application's
> dependency, BusyBox contains over 11KB of bloat.

This would actually be nice to have as a config option, regardless
what gz implementations ends un in busybox.

-- 
Natanael Copa


More information about the busybox mailing list