Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README
compress.py
decoding.py
huffman.py

README

compress.py:
    Demonstrates how Huffman codes can be used to efficiently
    compress and uncompress files (text or binary).
    Given an input file, calculates the number of occurrences for each
    character; from those frequencies, a Huffman tree is build.
    Also allows encoding and decoding of a file, see -h option.


decoding.py:
    This example demonstrates how much faster bitarray's decoing is as
    opposed to traversing the Huffman tree using Python.


huffman.py:
    Library containing useful functionality for working with Huffman trees
    and codes.
You can’t perform that action at this time.