[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH 2/2] (g)unzip: Optimize inflate_codes()
From:       Rob Landley <rob () landley ! net>
Date:       2010-02-19 13:58:28
Message-ID: 201002190758.28729.rob () landley ! net
[Download RAW message or body]

On Thursday 18 February 2010 03:51:53 Natanael Copa wrote:
> On Thu, Feb 18, 2010 at 6:38 AM, Dan Fandrich <dan@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.

I'm writing a new one.  I can make it export library bindings if you'd like.

He's removing 11k from busybox to add a 90k shared library to the OS.  I'm 
pretty sure we can do better than that.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic