[PATCH] make "fast unlzma" code much smaller -- alternative version

Rob Landley rob at landley.net
Thu Mar 9 09:51:55 PST 2006


On Thursday 09 March 2006 4:35 am, Denis Vlasenko wrote:
> On Thursday 09 March 2006 11:34, Denis Vlasenko wrote:
> > This patch improves inlining decisions in
> > archival/libunarchive/rangecoder.h so that:
> >
> > "fast unlzma" code is ~45% smaller with ~2% speed loss
> > "small unlzma" code is 17% faster with 10% size increase
>
> If you dislike that second change, take this patch instead.
> In it, "small unlzma" code is even smaller that original:
>
> # size decompress_unlzma.o decompress_unlzma.org.small.o
>    text    data     bss     dec     hex filename
>    2239       0       0    2239     8bf decompress_unlzma.o
>    2323       0       0    2323     913 decompress_unlzma.org.small.o
> --
> vda

Applied.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list