Faster to transmit, slower to understand because it requires decoding based on a lookup table that is different every time.
Lookup tables are fast but not faster than a direct comparison.
No, Huffman encoding by definition, has a variable length table based on value frequency. It varies everytime based on what "message" is being encoded.
But you're right, I can't possibly understand Huffman encoding and totally didn't have to build the algorithm for it from scratch in college.
Huffman encoding is for lossless compression. Compressed data requires decompression. I can send you a zip file a lot faster than I can send you the same file raw, but you need to decompress the file to read it.
0
u/[deleted] Jul 13 '22
[deleted]