Short string compression
THIS IS WORK IN PROGRESS. DO NOT EXPECT ANYTHING USEFUL IN THIS REPO AT THE MOMENT.
- C++ compiler (GCC, Clang)
- CMake 3.10 or later
Ubuntu
sudo apt install g++ libboost-all-dev
git clone https://github.com/607011/txtz.git
cd txtz
git submodule update --init
git submodule update --remote --merge
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
git clone https://github.com/607011/txtz.git
cd txtz
git submodule update --init
git submodule update --remote --merge
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
In Visual Studio Developer Console:
git clone https://github.com/607011/txtz.git
cd txtz
git submodule update --init
git submodule update --remote --merge
md build
cd build
cmake ..
cmake --build . --config Release
By default, Huffman encoding is used to build the binary tree. You can change that to Shannon-Fano encoding by setting MAPBUILDING_ALGO
to shannon-fano
instead huffman
when calling cmake
to configure the project:
cmake -DMAPBUILDING_ALGO=shannon-fano -DCMAKE_BUILD_TYPE=Release ..
TODO!!!
See LICENSE.