gzip: speed up send_bits()
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Jan 2018 23:01:06 +0000 (00:01 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Jan 2018 23:01:06 +0000 (00:01 +0100)
commitb7dfbbcdaaae5267259e2272b1cdfde6daad44a0
treeb5b5eb2808e08e4730c944e3407fb3100cae4f82
parentd7500f856d856716fd228935bb5e84c897c9daa8
gzip: speed up send_bits()

Replace one RMW op with store. This speeds up gzip of a png file by ~2%.

function                                             old     new   delta
send_bits                                             62      66      +4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/gzip.c