hush/archival/libunarchive
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
..
archive_copy_file.c Major coreutils update. 2003-03-19 09:13:01 +00:00
archive_xread_all_eof.c Major coreutils update. 2003-03-19 09:13:01 +00:00
archive_xread_all.c Major coreutils update. 2003-03-19 09:13:01 +00:00
archive_xread_char.c Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j 2002-11-03 14:05:15 +00:00
archive_xread.c Be certain to not abort prematurely when reading stuff from pipes. 2003-07-05 23:10:27 +00:00
check_header_gzip.c Major coreutils update. 2003-03-19 09:13:01 +00:00
data_align.c Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j 2002-11-03 14:05:15 +00:00
data_extract_all.c Marc A. Lehmann writes: 2003-09-11 08:32:40 +00:00
data_extract_to_buffer.c Terminate the buffer with a '\0' 2002-11-06 22:31:45 +00:00
data_extract_to_stdout.c Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j 2002-11-03 14:05:15 +00:00
data_skip.c Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j 2002-11-03 14:05:15 +00:00
decompress_bunzip2.c Manuel Novoa III writes: 2003-10-18 01:59:46 +00:00
decompress_uncompress.c Major coreutils update. 2003-03-19 09:13:01 +00:00
decompress_unzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
filter_accept_all.c enable .tar.bz2 for dpkg-deb 2002-11-05 01:52:23 +00:00
filter_accept_list_reassign.c Minor cleanups 2002-11-13 00:24:20 +00:00
filter_accept_list.c enable .tar.bz2 for dpkg-deb 2002-11-05 01:52:23 +00:00
filter_accept_reject_list.c enable .tar.bz2 for dpkg-deb 2002-11-05 01:52:23 +00:00
find_list_entry.c Find a string in a list 2002-10-19 05:10:51 +00:00
get_header_ar.c Fix bug when handling debian packages. 2003-07-31 01:53:50 +00:00
get_header_cpio.c Dont unlink when testing ! 2003-08-28 19:12:23 +00:00
get_header_tar_bz2.c Minor cleanups 2002-11-13 00:24:20 +00:00
get_header_tar_gz.c Major coreutils update. 2003-03-19 09:13:01 +00:00
get_header_tar.c Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled. 2003-09-12 06:49:09 +00:00
header_list.c New common unarchive code. 2002-09-25 02:47:48 +00:00
header_skip.c New common unarchive code. 2002-09-25 02:47:48 +00:00
header_verbose_list.c Major coreutils update. 2003-03-19 09:13:01 +00:00
init_handle.c Be certain to not abort prematurely when reading stuff from pipes. 2003-07-05 23:10:27 +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
seek_by_char.c Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j 2002-11-03 14:05:15 +00:00
seek_by_jump.c Major coreutils update. 2003-03-19 09:13:01 +00:00
uncompress.c Major coreutils update. 2003-03-19 09:13:01 +00:00
unpack_ar_archive.c Major coreutils update. 2003-03-19 09:13:01 +00:00
unzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00