Algorithm-Huffman
view release on metacpan or search on metacpan
}
my $self = {
encode => \%encode,
decode => \%decode,
max_length_encoding_key => max( map length, keys %encode ),
max_length_decoding_key => max( map length, keys %decode ),
min_length_decoding_key => min( map length, keys %decode )
};
bless $self, $class;
}
sub encode_hash {
my $self = shift;
$self->{encode};
}
sub decode_hash {
my $self = shift;
$self->{decode};
( run in 1.042 second using v1.01-cache-2.11-cpan-de7293f3b23 )