Hacker News new | ask | show | jobs
by imurray 709 days ago
That code in the EDIT is suboptimal. It doesn't saturate the Kraft inequality. You could make every codeword two bits and still encode 4 symbols, so that would be strictly better.
1 comments

Ah of course. Thanks for the insight. About 15 years since I studied this stuff!