hush/archival
Eric Andersen 1acfb72e71 Manuel Novoa III writes:
Hello Rob,

Here's a patch to your bunzip-3.c file.  Nice work btw.

One minor bug fix... checking for error return when read()ing.
Some size/performance optimizations as well.  One instance of
memset() seems unnecssary.  You might want to take a look.

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

Size of the patched version is comparable (slightly larger or
smaller depending on compiler flags).

Manuel
2003-10-18 01:59:46 +00:00
..
libunarchive Manuel Novoa III writes: 2003-10-18 01:59:46 +00:00
ar.c Major coreutils update. 2003-03-19 09:13:01 +00:00
bunzip2.c Major coreutils update. 2003-03-19 09:13:01 +00:00
Config.in trivial doc fix 2003-08-22 21:15:07 +00:00
cpio.c Dont unlink when testing ! 2003-08-28 19:12:23 +00:00
dpkg_deb.c Major coreutils update. 2003-03-19 09:13:01 +00:00
dpkg.c Do not shadow the global name 'accept' 2003-09-15 08:06:15 +00:00
gunzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
gzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
rpm2cpio.c Major coreutils update. 2003-03-19 09:13:01 +00:00
rpm.c Major coreutils update. 2003-03-19 09:13:01 +00:00
tar.c Fix -C option when creating tar files. 2003-10-02 14:33:23 +00:00
uncompress.c Save a few bytes by using bb_getopt_ulflags and a few other minor 2003-06-22 06:59:34 +00:00
unzip.c Major coreutils update. 2003-03-19 09:13:01 +00:00