diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-18 01:59:46 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-18 01:59:46 +0000 |
commit | 1acfb72e71a4af7e03da772cd721144b2899c96f (patch) | |
tree | 05f0f27bf3834cf1f9401e604bfa99ed3c7d0c6a /applets/busybox.c | |
parent | 0d6d88a2058d191c34d25a8709aca40311bb0c2e (diff) | |
download | busybox-1acfb72e71a4af7e03da772cd721144b2899c96f.tar.gz |
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
Diffstat (limited to 'applets/busybox.c')
0 files changed, 0 insertions, 0 deletions