News for hackers. Stuff that matters.
Re:Building a data compression utility in Haskell using Huff... by lazamar on Thursday July 04, 2024 @04:52AM (#40873413)
That’s interesting. I guess this is not usually used because you may have a long string of bits that is ambiguous till you get to a disambiguating bit.

Something like

`100000000000000001`

In this case, where to know whether the first code was an `a` or a `c` you have to read all the way to where the zeroes end.

There are no comments on this comment yet.