Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Huffman encoding library
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
aov-huff - Huffman encoding library =================================== This code is my own implementation of the Huffman encoding algorithm. Though it has been written for teaching purposes, it's reasonably optimized for real use cases. A command-line tool is provided with this library; there are many fields of improvement on it. Mostly, it reads the file to be compressed or decompressed as one big chunk, which may not be the best idea. Not only because of the memory usage; reading smaller blocks of data may increase the difference in frequency usage of the bytes in the content, which is where the Huffman algorithm benefits. This software is released into the public domain. Angel Ortega <firstname.lastname@example.org>