Skip to content

An experiment Canonical Huffman Code compressing of binary file use file I/O for learning Data Structure course.

Notifications You must be signed in to change notification settings

rzbdz/CanonicalHuffmanCode

Repository files navigation

CanonicalHuffmanCode

A Experiment Of Canonical Huffman Code;

Main file: main.cpp

Performance:

a Chinese text file (unicode):

  --------------------------
  Coding Information:
  --------------------------
  Input file: 643kb
  Output file: 492kb
  Compressibility: 23.5383%
  --------------------------

a English text file(Jane Eyre):

  --------------------------
  Coding Information:
  --------------------------
  Input file: 283kb
  Output file: 162kb
  Compressibility: 42.7012%
  --------------------------

About

An experiment Canonical Huffman Code compressing of binary file use file I/O for learning Data Structure course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published