Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huffman encoding/decoding #55

Merged
merged 1 commit into from
Jun 7, 2014
Merged

Huffman encoding/decoding #55

merged 1 commit into from
Jun 7, 2014

Conversation

eush77
Copy link
Contributor

@eush77 eush77 commented Jun 7, 2014

Huffman encoding/decoding (wikipedia).

The resulting binary code can be returned either as 0-1 string (e.g. 'hello' -> 1101110010) or array of int32 numbers ('hello' -> [882, 10]). The latter case is obviously more memory efficient but less clear to test and play with.

This closes #7.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.23%) when pulling 3621c12 on eush77:huffman into 5a6129b on felipernb:master.

felipernb added a commit that referenced this pull request Jun 7, 2014
Huffman encoding/decoding
@felipernb felipernb merged commit 0b8a4df into felipernb:master Jun 7, 2014
@eush77 eush77 deleted the huffman branch June 7, 2014 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Huffman encoding/decoding
3 participants