Skip to content

A simple text-based Huffman encoder and decoder.

Notifications You must be signed in to change notification settings

clickyotomy/huffman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffman
-------
A simple text-based Huffman encoder and decoder.


USAGE
	huffman (-e | -d [-t -n]) -i INPUT -o OUTPUT [-h]

ARGUMENTS
	-e  encode (default operation)
	-d  decode
	-t  use tree instead of look-up table (host only; for decode)
	-n  run on host instead of GPU (for decode)
	-s  run on a single GPU thread
	-i  input file path
	-o  output file path
	-h  display program usage

BUILD
	To build the binary ("huffman"), run:
		
		$ make

TEST
	To test the program with a sample input [1], run:

		$ make test

[1]: https://ocw.mit.edu/ans7870/6/6.006/s08/lecturenotes/files/t8.shakespeare.txt

About

A simple text-based Huffman encoder and decoder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published