Denys Vlasenko
|
fe1bab4d35
|
bzip2: convert some locals to unsigned's
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 18:03:33 +01:00 |
|
Denys Vlasenko
|
c364d32ccc
|
bzip2: runningOrder[] values are always 0..255, make it uint8
function old new delta
mainSort 1171 1124 -47
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 17:44:00 +01:00 |
|
Denys Vlasenko
|
df23f55e39
|
bzip2: remove redundant clearing of an alredy unset bit
function old new delta
mainSort 1178 1171 -7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 17:38:23 +01:00 |
|
Denys Vlasenko
|
524fa29a93
|
bzip2: eliminate write-only local numQSorted
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 17:30:16 +01:00 |
|
Denys Vlasenko
|
2109fce410
|
bzip2: make locals in mainSort() saner, convert one of them from uint16 to unsigned
function old new delta
mainSort 1192 1178 -14
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 17:22:06 +01:00 |
|
Denys Vlasenko
|
aaa3818a75
|
bzip2: remove redundant loop termination check in mainSort()
function old new delta
mainSort 1202 1192 -10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 16:43:33 +01:00 |
|
Denys Vlasenko
|
1cbcb02316
|
bzip2: optimize zPend variable code
function old new delta
generateMTFValues 433 378 -55
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-02-03 15:26:00 +01:00 |
|
Denys Vlasenko
|
feafb3423e
|
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>
|
2018-02-03 04:43:46 +01:00 |
|
Denys Vlasenko
|
522041ee7b
|
regularize options which control size/speed trade
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-09-10 13:25:57 +02:00 |
|
Denys Vlasenko
|
833d4e7f84
|
rename archival/libunarchive -> archival/libarchive; move bz/ into it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2010-11-03 02:38:31 +01:00 |
|