[BusyBox] Re: Sigh... this time i attached the file (bunzip-4.c)
rob at landley.net
Tue Oct 21 07:24:38 UTC 2003
On Tuesday 21 October 2003 00:45, Manuel Novoa III wrote:
> On Mon, Oct 20, 2003 at 11:43:47PM -0600, Manuel Novoa III wrote:
> > Rob,
> > 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
> > bzcat.
> > Manuel
Very nice. A couple of minor cleanups (mostly cosmetic) cleanups got
reverted, but I'll put 'em back when I prepare a patch.
Gimme an hour to read thorugh it, and I'll post a patch against what's in CVS.
More information about the busybox