Compress-SelfExtracting
view release on metacpan or search on metacpan
SelfExtracting.pm view on Meta::CPAN
# for the original, which IMO better describes the block-sorting.
#
import Compress::SelfExtracting::Huffman;
sub import { }
##############################
# BWT block-sorting
sub BLKSIZE() { 16*1024 } # unused, so this sucks for big files.
sub QSORT_SIZE() { 5 } # when to use qsort instead of counting sort.
sub _counting_sort
{
my ($p, $o) = @_;
if ($::DEBUG) {
++$calls;
if ($o > $maxdepth) {
$maxdepth = $o;
print STDERR "$o\r";
}
}
( run in 0.264 second using v1.01-cache-2.11-cpan-1f129e94a17 )