Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Compression removes redundancy. It's literally the definition of compression! And reduced redundancy is always bad when reliable transmission is a priority over small size.


If 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.


Bit 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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: