Skip to content
/ enigma Public

Library for compressing a large amount of small strings

Notifications You must be signed in to change notification settings

carzil/enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma is a library for compressing a large amount of small strings. It's main force is EnigmaCodec. It uses dictionary based encoder greedily consuming substrings from given input records and then passes substring into Huffman coder.

Building

You can build and install Enigma with:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
make install

Testing

Unit-tests can be built with ENIGMA_BUILD_TESTS flag turned to ON (you want, probably, Debug-build)

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DENIGMA_BUILD_TESTS=ON
make

Then run:

tools/runner <file you want to compress>

This will run Enigma and tests it for compressing/decompressing and save/load.

About

Library for compressing a large amount of small strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published