Does LZ4 compression eliminate the need for manual bit packing?

147 Views Asked by At

I'm considering using LZ4 compression for a high bandwidth browser game I'm developing. I'm currently pre-compressing 1000s of float32 values down to 16bits. I'm wondering if I pre-compressed down to 12bits but saved those values as uint16s, whether LZ4 would remove the empty bits and save me the work of manually bit packing those values.

0

There are 0 best solutions below