clickyotomy / huffman

A simple text-based Huffman encoder and decoder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:C 58.5%Language:Cuda 34.6%Language:Makefile 6.9%