Skip to content

implementation of Burrows-Wheeler Transformation and Run Length Encoding

Notifications You must be signed in to change notification settings

sivaGH3/simple-compression-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-compression-algorithm

  • implementation of Burrows-Wheeler Transformation and Run Length Encoding.
  • optimized BWT to run in linear time.
  • optimized RLE by using 2 letters to denote a run.

Usage

  • run either node index.js enocde test.txt or node index.js decode test.txt
  • all the compressed files are stored in output folder and uncompressed in input folder.
  • to compress a file first place it in input folder.

Dependencies

  • no external dependencies

Limitations

  • becomes slow after 32 MB (need to optimize I/O handling)
  • fails in cases where there are large amount of numbers due to RLE

About

implementation of Burrows-Wheeler Transformation and Run Length Encoding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published