Is bit packing detrimental to the performance of gzip? Assume that I have 7 bit values and pack in the following way:
Byte1 Byte2 Byte3 Byte4
[aaaaaaab][bbbbbbcc][cccccddd][dddd...
As far as I understand LZ compression works on a byte basis. Any repeating pattern in the 7 bits will be obscured.
Is it advisable to stuff with an extra bit for byte alignment to help LZ?
Byte1 Byte2 Byte3 Byte4
[aaaaaaa0][bbbbbbb0][ccccccc0][ddddddd0][...
Are there any results on that in literature?