3 ms·
Compression of text is basically never counterproductive as long as you use a suitable design. Even a static huffman tree would help, and has no overhead. An
by Dylan16807 6y ago
Compression of text is basically never counterproductive as long as you use a suitable design.
Even a static huffman tree would help, and has no overhead. An entropy encoder would do very well and only cost a few bits to flush.
- kqr 6y agoCompression removes redundancy. It's literally the definition of compression! And reduced redundancy is always bad when reliable transmission is a priority over small size.
- Dylan16807 6y agoIf your news wire starts mangling data, you need to resend it, not guess. And I bet you can get more reliability out of compressing and then adding error correction bits.
- kqr 6y agoBit of a late reply, but resending it is a form of redundancy, and so is adding error correction bits. It is cheaper to do these things (they require less bandwidth) when you start with a limited character set.