[BusyBox] [patch] micro-bunzip version 3. :)

Manuel Novoa III mjn3 at codepoet.org
Tue Oct 21 05:43:47 UTC 2003


New version is attached.  I did not bother integrating it into
busybox, but the necessary read interface is there.

On Fri, Oct 17, 2003 at 08:01:27PM -0600, Erik Andersen wrote:
> On Thu Oct 16, 2003 at 09:01:52PM -0600, Manuel Novoa III wrote:
> > Anyway, on my machine, decompressing linux-2.6.0-test7.tar.bz2
> > to /dev/null gave the following times:
> > 
> >         bunzip-3.c    bzcat (system)   bunzip-3.c (patched)
> > real    0m24.420s     0m22.725s        0m20.701s
> > user    0m23.930s     0m22.170s        0m20.180s
> > sys     0m0.070s      0m0.080s         0m0.140s

user time now down to about 17.6s.

Some of the streamlining optimizations done in read_bunzip() work
for x86 (with its limited register set) but could hurt on risc.
However, I tested on arm and bunzip-4.c was about 10% faster than


More information about the busybox mailing list