3 ms·
I don’t expect that would work. It would compress long words, but most short words would be encoded with numbers longer than the word themselves, and those typi
by Someone 4y ago
I don’t expect that would work. It would compress long words, but most short words would be encoded with numbers longer than the word themselves, and those typically make up most of the words.
- beanlog 4y agoThe trick is to encode the numbers in binary, not plaintext. But still you'd probably want to use a Huffman coding rather than plain indexes so that the common words are shorter.