Skip to content

mtchavez/huffman-encode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffman-encode

Hufffman encoding example using ruby endorse

Example

Example script bin/huffman.rb encodes sample.html and shows breakdown of bytes before and after with percentage of encoding.

ruby bin/huffman.rb
# => original 22485 bytes, huffman encoded: 17122.625 bytes, ratio: 76.15%

Specs

Run rake for specs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages