I know. I originally had vec in mind, but doing the decoding that way felt like too much of a drag, and I don't really need this module. The current implementation is arguably easier to understand, which was what I wanted to do: understand the algorithm.
--
print "Just Another Perl Adept\n";
In reply to Re^2: Huffman coding in pure Perl
by vrk
in thread Huffman coding in pure Perl
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |