Playing around with Huffman coding in Perl.
$ perl ./main "hello world"
+-------------+
| "l" => 10 |
| "h" => 000 |
| "e" => 011 |
| "o" => 111 |
| "r" => 010 |
| " " => 001 |
| "w" => 1100 |
| "d" => 1101 |
+-------------+
00001110101110011100111010101101
This is made for another toy project to parse PDFs Deflate encoded streams.