Hacker News new | ask | show | jobs
by jbri 4981 days ago
Arithmetic coding avoids the "wastage" of entropy you're talking about entirely - there are no "waste bits" in the middle of the stream like there would be with a fixed-size encoding.