diff options
author | Denys Vlasenko | 2018-02-03 04:43:46 +0100 |
---|---|---|
committer | Denys Vlasenko | 2018-02-03 04:43:46 +0100 |
commit | feafb3423e76d3c02a1f4fc740fb3f91a211ce1c (patch) | |
tree | df527b15a448e1f1bb9f463de828f0528f022df8 /archival/libarchive/bz/bzlib.c | |
parent | 982c44d030dbb9eec3ae6522b12838c5f0754070 (diff) | |
download | busybox-feafb3423e76d3c02a1f4fc740fb3f91a211ce1c.zip busybox-feafb3423e76d3c02a1f4fc740fb3f91a211ce1c.tar.gz |
bzip2: ~1% speedup by special-casing "store 1 bit" function
function old new delta
bsW1 - 52 +52
BZ2_compressBlock 230 225 -5
BZ2_blockSort 125 118 -7
sendMTFValues 2070 2051 -19
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 52/-31) Total: 21 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/bz/bzlib.c')
-rw-r--r-- | archival/libarchive/bz/bzlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/bz/bzlib.c b/archival/libarchive/bz/bzlib.c index 3572474..ef98bb2 100644 --- a/archival/libarchive/bz/bzlib.c +++ b/archival/libarchive/bz/bzlib.c @@ -55,7 +55,7 @@ void prepare_new_block(EState* s) { int i; s->nblock = 0; - //indexes inot s->zbits[], initialzation moved to init of s->zbits + //indexes into s->zbits[], initialzation moved to init of s->zbits //s->posZ = s->zbits; // was: s->numZ = 0; //s->state_out_pos = s->zbits; BZ_INITIALISE_CRC(s->blockCRC); |