2 ms·
The arcane part is what happens after the repetitions have been found and replaced. At that point you have the entropy encoding stage where more common tokens
by Dylan16807 12y ago
The arcane part is what happens after the repetitions have been found and replaced. At that point you have the entropy encoding stage where more common tokens get shorter encodings and more rare tokens get longer encodings. The basic idea isn't too complex, but then optimizing it adds extra layers to efficiently store which tokens are common and which are rare. This results in something quite arcane indeed.