Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Compress short strings, using the Huffman algorithm.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pyshortstringcompression
README

README

pyshortstringcompression
========================

Compress and decompress short strings.

We precompute a Huffman tree (dictionary) for our corpus, and this corpus
is not stored in any way in the compressed strings.

WARNING: When decompressing, make sure you know what dictionary was used
to compress the string, or you're hosed.

For happy porting, the compression dictionary is given in a human-readable
format. Pull requests should be directed at: https://github.com/antirez/smaz
Something went wrong with that request. Please try again.