Arithmetic coding/As a generalized change of radix: Difference between revisions

no edit summary
No edit summary
Line 217:
1150764267498783364 15</lang>
 
Note that these results are not sufficient to recover the original character sequences. To recover the original character sequence we probably need to know which characters were used and the number of times each character appeared.
 
That's something of a problem because this algorithm, and the frequencies used, are both explicitly tied to the length of the character sequence being compressed. It doesn't work with pre-shared parameters unless you limit yourself to a fixed sized collection of characters.
 
=={{header|Perl}}==
6,962

edits