bzip2: pass sorting params through EState* pointer
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2018 19:19:51 +0000 (20:19 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2018 19:19:51 +0000 (20:19 +0100)
commitc9ae8d770bf8a21fec962f67b759569b263c68fc
tree8f5b7684068200d228f99c1bda3eb3ff81ca971b
parent10f516500ec8bbf2a9fb2ac53f88ba89f7472c17
bzip2: pass sorting params through EState* pointer

function                                             old     new   delta
mainGtU                                              499     515     +16
sendMTFValues                                       2085    2094      +9
mainSort                                            1116    1119      +3
generateMTFValues                                    357     356      -1
fallbackSort                                        1719    1705     -14
mainQSort3                                          1163    1141     -22
BZ2_blockSort                                        118      85     -33
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/4 up/down: 28/-70)            Total: -42 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/bz/blocksort.c
archival/libarchive/bz/bzlib.c
archival/libarchive/bz/bzlib_private.h